113. Delete user service call (#13)
This commit is contained in:
@ -44,6 +44,11 @@ export class UserService {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public deleteUser(userId: string): Observable<HttpResponse | HttpErrorResponse> {
|
||||||
|
return this.httpClient
|
||||||
|
.delete<HttpResponse | HttpErrorResponse>(`${this.host}/user/${userId}`);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface UserPage {
|
export interface UserPage {
|
||||||
|
|||||||
Reference in New Issue
Block a user