Update Backend
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user