From 089ffd42feabbf3b86b991bd3de1b00a7e943a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 26 Apr 2023 15:42:17 +0200 Subject: [PATCH] Fix wrapper function: Reimbursement.getData() --- lib/contracts/reimbursement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contracts/reimbursement.js b/lib/contracts/reimbursement.js index 0d9409e..391ae3e 100644 --- a/lib/contracts/reimbursement.js +++ b/lib/contracts/reimbursement.js @@ -16,7 +16,7 @@ class Reimbursement extends Record { } getData (id) { - return this.contract.getReimbursement(id); + return this.contract.get(id); } async add (attrs, callOptions = {}) {