summaryrefslogtreecommitdiff
path: root/app/src/store/modules
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-12-01 10:49:56 +0100
committerSanto Cariotti <santo@dcariotti.me>2022-12-01 10:49:56 +0100
commitc916370e7a32164a426911905f401d52f029991e (patch)
treea9c8e1e37e0e24532393e350f0011e8d1f5196e4 /app/src/store/modules
parent2541e3cd60acad79117c5f6d10fbdf86f3f8c7f6 (diff)
Use new endpoint to get my info
Diffstat (limited to 'app/src/store/modules')
-rw-r--r--app/src/store/modules/auth.ts2
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",