Merge conflicts
This commit is contained in:
commit
4836936b12
2 changed files with 3 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
|
// This interface is only used for login and storing/retreiving JWT from local storage
|
||||||
export interface User {
|
export interface User {
|
||||||
username: string;
|
username: string;
|
||||||
token: string;
|
token: string;
|
||||||
photoUrl?: string;
|
|
||||||
roles: string[];
|
roles: string[];
|
||||||
}
|
}
|
||||||
|
|
@ -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
|
|
||||||
}
|
|
||||||
|
|
||||||
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