diff options
| author | Maks Jopek <maksymilian.jopek@prym-soft.pl> | 2021-04-29 20:05:06 +0200 |
|---|---|---|
| committer | Maks Jopek <maksymilian.jopek@prym-soft.pl> | 2021-04-29 20:05:06 +0200 |
| commit | 040d5372c1033bb7c0580ad2c9b6b32f974a20c8 (patch) | |
| tree | e452aa8ad583607b87d47ef82eabf0bd7e3ab60a /helpers/helpers.ts | |
| parent | 6baaa14bde032afa363dbdd50119a20e9f47df1c (diff) | |
| download | fia-040d5372c1033bb7c0580ad2c9b6b32f974a20c8.tar.gz fia-040d5372c1033bb7c0580ad2c9b6b32f974a20c8.tar.zst fia-040d5372c1033bb7c0580ad2c9b6b32f974a20c8.zip | |
Version 1.0
Diffstat (limited to 'helpers/helpers.ts')
| -rw-r--r-- | helpers/helpers.ts | 5 |
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 { |
