feat: add image capture dialog (#1130)

Fixes: #1129
This commit is contained in:
Karan Takalkar
2020-07-25 22:17:26 +05:30
committed by GitHub
parent c70e27eb63
commit 67a836e3d6
8 changed files with 194 additions and 3 deletions
+4
View File
@@ -166,6 +166,10 @@ export class ClientsService {
return this.http.post(`/clients/${clientId}/images`, formData);
}
uploadCapturedClientProfileImage(clientId: string, imageURL: string) {
return this.http.post(`/clients/${clientId}/images`, imageURL);
}
deleteClientProfileImage(clientId: string) {
return this.http.delete(`/clients/${clientId}/images`);
}