Reimbursement.getReimbursement vs. Reimbursement.get

This commit is contained in:
2020-05-29 15:12:57 +02:00
parent 3f8407fa02
commit 1f248812a7
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ class Reimbursement extends Record {
}
getById (id) {
return this.functions.getReimbursement(id)
return this.functions.get(id)
.then(data => {
return this.ipfs.catAndMerge(data, ExpenseSerializer.deserialize);
});