From 8e4163e3f08e29f38fe87c59d8cfb91e0fa98063 Mon Sep 17 00:00:00 2001 From: kartofen Date: Mon, 29 Aug 2022 19:01:20 +0300 Subject: everything works --- src/lib/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/api.ts') diff --git a/src/lib/api.ts b/src/lib/api.ts index 645fc23..e6ac0f1 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -1,7 +1,7 @@ const base = 'https://localhost:5001/api' export async function api(method: string, resource: string, data?: any) { - console.log("API USED", method, resource, data); + // console.log("API USED", method, resource, data); return await fetch(`${base}/${method}/${resource}`, { method, headers: { -- cgit v1.2.3