Fix delete function in services.
This commit is contained in:
@ -37,6 +37,6 @@ export class AccountService {
|
||||
}
|
||||
|
||||
delete(account: Account): Observable<Account> {
|
||||
return this.one(account.id).delete();
|
||||
return this.one(account.id).remove();
|
||||
}
|
||||
}
|
||||
|
@ -64,6 +64,6 @@ export class OperationService {
|
||||
}
|
||||
|
||||
delete(operation: Operation): Observable<Operation> {
|
||||
return this.one(operation.id).delete();
|
||||
return this.one(operation.id).remove();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user