Fix delete function in services.
This commit is contained in:
parent
1c18d93d13
commit
03f069fc74
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user