diff --git a/proto b/proto index b7ea2e6..c1b7fd7 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit b7ea2e6cc71f7393f9afe722204c5c33b6a6f2b6 +Subproject commit c1b7fd7a2d32678641ebd3acfe3d5b2eca5d0c72 diff --git a/src/shared/api/ms-auth.ts b/src/shared/api/ms-auth.ts index a5d0a05..b363e38 100644 --- a/src/shared/api/ms-auth.ts +++ b/src/shared/api/ms-auth.ts @@ -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; };