mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
sending user instead of { user } on patch
This commit is contained in:
parent
aa62dcfbcd
commit
ed90c0c0c2
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export const apiAuthGetUpdates = ({
|
|||
|
||||
export const apiUpdateUser = ({ access, user }): Promise<IResultWithStatus<{ user: IUser }>> =>
|
||||
api
|
||||
.patch(API.USER.ME, { user }, configWithToken(access))
|
||||
.patch(API.USER.ME, user, configWithToken(access))
|
||||
.then(resultMiddleware)
|
||||
.catch(errorMiddleware);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue