Merge conflicts

This commit is contained in:
Joseph Milazzo 2021-01-01 16:13:04 -06:00
commit 4836936b12
2 changed files with 3 additions and 7 deletions

View file

@ -1,6 +1,6 @@
// This interface is only used for login and storing/retreiving JWT from local storage
export interface User {
username: string;
token: string;
photoUrl?: string;
roles: string[];
}

View file

@ -19,13 +19,9 @@ export class MemberService {
adminExists() {
return this.httpClient.get<boolean>(this.baseUrl + 'admin/exists');
}
updatePassword(newPassword: string) {
// TODO: Implement update password
}
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);
}
}