feat: shares account actions (delete) (#894)

Fixes: #893
This commit is contained in:
Karan Takalkar
2020-06-23 17:24:28 +05:30
committed by GitHub
parent 8c032fc3ef
commit d719d9a4cf
2 changed files with 37 additions and 1 deletions
+8
View File
@@ -50,6 +50,14 @@ export class SharesService {
return this.http.put(`/accounts/share/${accountId}`, sharesAccount);
}
/**
* @param {string} accountId shares account Id
* @returns {Observable<any>}
*/
deleteSharesAccount(accountId: string): Observable<any> {
return this.http.delete(`/accounts/share/${accountId}`);
}
/**
* @param {string} accountId Shares Account Id
* @param {string} command Command