feat: client actions (close) (#1069)

Fixes: #1068
This commit is contained in:
Karan Takalkar
2020-07-13 11:55:03 +05:30
committed by GitHub
parent af32d481bf
commit 9d827c8500
11 changed files with 174 additions and 1 deletions
+5
View File
@@ -218,4 +218,9 @@ export class ClientsService {
return this.http.post(`/clients/${clientId}`, data, { params: httpParams });
}
getClientCommandTemplate(command: string): Observable<any> {
const httpParams = new HttpParams().set('commandParam', command);
return this.http.get(`/clients/template`, { params: httpParams });
}
}