diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-12-01 10:49:56 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-12-01 10:49:56 +0100 |
commit | c916370e7a32164a426911905f401d52f029991e (patch) | |
tree | a9c8e1e37e0e24532393e350f0011e8d1f5196e4 | |
parent | 2541e3cd60acad79117c5f6d10fbdf86f3f8c7f6 (diff) |
Use new endpoint to get my info
-rw-r--r-- | app/src/store/modules/auth.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/store/modules/auth.ts b/app/src/store/modules/auth.ts index b3e72de..769a7de 100644 --- a/app/src/store/modules/auth.ts +++ b/app/src/store/modules/auth.ts @@ -73,7 +73,7 @@ const auth = { async getMe(context: AuthContext) { const api = context.rootState.api; - await fetch(`${api}/users/me`, { + await fetch(`${api}/users`, { method: "GET", headers: { "Content-Type": "application/json", |