diff options
Diffstat (limited to '')
-rw-r--r-- | nodejs/database/contracts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nodejs/database/contracts.js b/nodejs/database/contracts.js index 8790701..ac583de 100644 --- a/nodejs/database/contracts.js +++ b/nodejs/database/contracts.js @@ -9,7 +9,7 @@ export function getContract(id) { if (data === undefined) { return null; } - return data.data; + return JSON.parse(data.data); } export function setContract(data) { |