[javascript] Fixed database functions result which were not parsed
This commit is contained in:
parent
f89af1145d
commit
a9cd987c50
3 changed files with 4 additions and 3 deletions
|
@ -12,5 +12,5 @@ export function getAgent() {
|
|||
if (data === undefined) {
|
||||
return null;
|
||||
}
|
||||
return data.data;
|
||||
return JSON.parse(data.data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue