diff --git a/CHANGELOG.md b/CHANGELOG.md index 889a0613..ec4e3e32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ and this project adheres to - 🐛(frontend) center Avatar initials with a font-aware cap-height ratio - 🐛(frontend) keep feedback buttons on one line for fr/es/en - ⚡️(frontend) increase lobby polling interval on both sides +- ⚡️(frontend) add trailing slash on the /me endpoint call ## [1.30.0] - 2026-09-01 diff --git a/src/frontend/src/features/auth/api/fetchUser.ts b/src/frontend/src/features/auth/api/fetchUser.ts index deed1760..103135a6 100644 --- a/src/frontend/src/features/auth/api/fetchUser.ts +++ b/src/frontend/src/features/auth/api/fetchUser.ts @@ -18,7 +18,7 @@ export const fetchUser = ( } ): Promise => { return new Promise((resolve, reject) => { - fetchApi('/users/me') + fetchApi('/users/me/') .then(resolve) .catch((error) => { // we assume that a 401 means the user is not logged in