From 23593a09a09a775f7bb8f2788732194e4e8ee71c Mon Sep 17 00:00:00 2001 From: Art Date: Sun, 12 Sep 2021 21:34:01 +0300 Subject: [PATCH] 113. Delete user service call (#13) --- support-portal-frontend/src/app/service/user.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/support-portal-frontend/src/app/service/user.service.ts b/support-portal-frontend/src/app/service/user.service.ts index edd0ce1..2f0c1c6 100644 --- a/support-portal-frontend/src/app/service/user.service.ts +++ b/support-portal-frontend/src/app/service/user.service.ts @@ -44,6 +44,11 @@ export class UserService { }); } + public deleteUser(userId: string): Observable { + return this.httpClient + .delete(`${this.host}/user/${userId}`); + } + } export interface UserPage {