Fix delete function in services.

This commit is contained in:
Alexis Lahouze 2017-07-30 16:22:44 +02:00
parent 1c18d93d13
commit 03f069fc74
2 changed files with 2 additions and 2 deletions

View File

@ -37,6 +37,6 @@ export class AccountService {
}
delete(account: Account): Observable<Account> {
return this.one(account.id).delete();
return this.one(account.id).remove();
}
}

View File

@ -64,6 +64,6 @@ export class OperationService {
}
delete(operation: Operation): Observable<Operation> {
return this.one(operation.id).delete();
return this.one(operation.id).remove();
}
}