aboutsummaryrefslogtreecommitdiff
path: root/src/lib/api.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/api.ts')
-rw-r--r--src/lib/api.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/api.ts b/src/lib/api.ts
index 221a7b3..645fc23 100644
--- a/src/lib/api.ts
+++ b/src/lib/api.ts
@@ -2,8 +2,6 @@ const base = 'https://localhost:5001/api'
export async function api(method: string, resource: string, data?: any) {
console.log("API USED", method, resource, data);
-
-
return await fetch(`${base}/${method}/${resource}`, {
method,
headers: {