Updated API end points
This commit is contained in:
parent
696f950f7a
commit
c9759bc3d1
1 changed files with 1 additions and 5 deletions
|
|
@ -20,12 +20,8 @@ export class MemberService {
|
||||||
return this.httpClient.get<boolean>(this.baseUrl + 'admin/exists');
|
return this.httpClient.get<boolean>(this.baseUrl + 'admin/exists');
|
||||||
}
|
}
|
||||||
|
|
||||||
updatePassword(newPassword: string) {
|
|
||||||
// TODO: Implement update password (use JWT to assume role)
|
|
||||||
}
|
|
||||||
|
|
||||||
deleteMember(username: string) {
|
deleteMember(username: string) {
|
||||||
return this.httpClient.delete(this.baseUrl + 'admin/delete-user?username=' + username);
|
return this.httpClient.delete(this.baseUrl + 'users/delete-user?username=' + username);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue