feat(user): delete GetMe endpoint
This commit is contained in:
parent
e634d8bd56
commit
9c7c6e9a58
2 changed files with 4 additions and 2 deletions
2
proto
2
proto
|
@ -1 +1 @@
|
|||
Subproject commit b7ea2e6cc71f7393f9afe722204c5c33b6a6f2b6
|
||||
Subproject commit c1b7fd7a2d32678641ebd3acfe3d5b2eca5d0c72
|
|
@ -171,7 +171,9 @@ export const GetMe = async () => {
|
|||
}
|
||||
};
|
||||
|
||||
const response = await authApi.getMe(options);
|
||||
const token = new JWTWithPermissions(decode(session.value) as JWT);
|
||||
|
||||
const response = await authApi.getUser(token.user_id, options);
|
||||
|
||||
return response.data;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue