diff --git a/src/accounts/account.service.ts b/src/accounts/account.service.ts index c9b9f3a..5003350 100644 --- a/src/accounts/account.service.ts +++ b/src/accounts/account.service.ts @@ -37,6 +37,6 @@ export class AccountService { } delete(account: Account): Observable { - return this.one(account.id).delete(); + return this.one(account.id).remove(); } } diff --git a/src/operations/operation.service.ts b/src/operations/operation.service.ts index 084c544..5ff0931 100644 --- a/src/operations/operation.service.ts +++ b/src/operations/operation.service.ts @@ -64,6 +64,6 @@ export class OperationService { } delete(operation: Operation): Observable { - return this.one(operation.id).delete(); + return this.one(operation.id).remove(); } }