aboutsummaryrefslogtreecommitdiffstats
path: root/helpers/helpers.ts
diff options
context:
space:
mode:
authorMaks Jopek <maksymilian.jopek@prym-soft.pl>2021-04-29 20:05:06 +0200
committerMaks Jopek <maksymilian.jopek@prym-soft.pl>2021-04-29 20:05:06 +0200
commit040d5372c1033bb7c0580ad2c9b6b32f974a20c8 (patch)
treee452aa8ad583607b87d47ef82eabf0bd7e3ab60a /helpers/helpers.ts
parent6baaa14bde032afa363dbdd50119a20e9f47df1c (diff)
downloadfia-040d5372c1033bb7c0580ad2c9b6b32f974a20c8.tar.gz
fia-040d5372c1033bb7c0580ad2c9b6b32f974a20c8.tar.zst
fia-040d5372c1033bb7c0580ad2c9b6b32f974a20c8.zip
Version 1.0
Diffstat (limited to 'helpers/helpers.ts')
-rw-r--r--helpers/helpers.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/helpers/helpers.ts b/helpers/helpers.ts
index 3800040..9cd15cc 100644
--- a/helpers/helpers.ts
+++ b/helpers/helpers.ts
@@ -17,9 +17,10 @@ export default class Helpers {
params: params
})
})
- ).text();
+ ).json();
// console.log(t);
- return JSON.parse(t);
+ // return JSON.parse(t);
+ return t;
}
static dbResToFiaTable(dbRes: dbRes): fiaTable {