Update Backend

This commit is contained in:
2024-11-23 13:28:33 +01:00
parent e70951c9dd
commit cb65e96165
23 changed files with 493 additions and 310 deletions

View File

@@ -25,7 +25,7 @@ export class UserRepo {
constructor(private token: string) {
}
public async setPassword(id: number, password: string): Promise<void> {
public async setPassword(id: string, password: string): Promise<void> {
await fetchWithToken(this.token, `/user/${id}/admin/password`, {
method: "PUT",
body: password,