1
0
Fork 0

[javascript] Fixed database functions result which were not parsed

This commit is contained in:
Julien Dessaux 2023-09-07 23:40:20 +02:00
parent f89af1145d
commit a9cd987c50
Signed by: adyxax
GPG key ID: F92E51B86E07177E
3 changed files with 4 additions and 3 deletions

View file

@ -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) {