Skip to content

Commit

Permalink
Merge pull request #119 from bsideproject/jw-dev
Browse files Browse the repository at this point in the history
temp
  • Loading branch information
boxak authored Jul 23, 2023
2 parents a921091 + 4ede054 commit f0d41ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/store/FriendStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,20 @@ class FriendStore {
};

console.log("friend request : " + JSON.stringify(request));
console.log("friend request jwtkey : " + this.rootStore.userStore.getJwtKey);
console.log("friend request jwtkey : " + RootStore.userStore.getJwtKey);

try{
if(getEdit === "edit"){
const res = await put(`${this.baseUrl}/api/friend/${getSequence}`, request,{
headers : {
Authorization : this.rootStore.userStore.getJwtKey
Authorization : RootStore.userStore.getJwtKey
},
});
console.log(res);
}else{
const res = await post(`${this.baseUrl}/api/friend`, request,{
headers : {
Authorization : this.rootStore.userStore.getJwtKey
Authorization : RootStore.userStore.getJwtKey
},
});
console.log("res : " + JSON.stringify(res));
Expand Down

0 comments on commit f0d41ce

Please sign in to comment.