Skip to content

Commit

Permalink
fix: settings page api #433
Browse files Browse the repository at this point in the history
connected update user profile api
  • Loading branch information
jasirtp committed Nov 11, 2021
1 parent d392ecd commit 4a31152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/UserService.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function updateProfileByUserId(userCookie, reqData) {
console.log({ reqData });
try {
const { data } = await axios.put(
`${baseUrl}/${usersUrl}/${userCookie.id}`,reqData);
`${baseUrl}/${userUrl}/${userCookie.id}`,reqData);

console.log(data, 'update');

Expand Down

0 comments on commit 4a31152

Please sign in to comment.