Ensuring localization works across all pages and fix user data fetching in admin view

This commit is contained in:
Keith Stevens
2023-01-21 17:56:29 +09:00
parent 1c725bb4e2
commit b9ce2fb140
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ export class OasstApiClient {
* Returns the `BackendUser` associated with `user_id`
*/
async fetch_user(user_id: string): Promise<BackendUser> {
return this.get(`/api/v1/users/users/${user_id}`);
return this.get(`/api/v1/users/${user_id}`);
}
/**