From c813dfadd4b673080695ef3ade37a44e37036c07 Mon Sep 17 00:00:00 2001 From: Maks Jopek Date: Sat, 1 May 2021 00:20:33 +0200 Subject: Version 1.1 --- helpers/helpers.ts | 5 ----- 1 file changed, 5 deletions(-) (limited to 'helpers/helpers.ts') diff --git a/helpers/helpers.ts b/helpers/helpers.ts index 9cd15cc..1f9aa06 100644 --- a/helpers/helpers.ts +++ b/helpers/helpers.ts @@ -18,15 +18,11 @@ export default class Helpers { }) }) ).json(); - // console.log(t); - // return JSON.parse(t); return t; } static dbResToFiaTable(dbRes: dbRes): fiaTable { if (typeof dbRes.data === "string") { - console.log("dbRes.data: ", dbRes.data); - console.log("dbRes.data as string: ", JSON.stringify(dbRes.data)); dbRes.data = JSON.parse(dbRes.data); } else @@ -40,7 +36,6 @@ export default class Helpers { if (res.success === false) { if (Object.keys(nRes).length === 0) { // @ts-ignore - here error is because backend tsc is checking this file, where lib: DOM is not present - // alert("API Error!"); throw new Error("API Error!"); } else { nRes.status(500); -- cgit v1.3.1