From 9aea1828e9f922ed387506c7e13e4978e76a70d6 Mon Sep 17 00:00:00 2001 From: nea Date: Sun, 8 Dec 2024 21:29:30 +0330 Subject: [PATCH] im not going insane 2 --- .idea/workspace.xml | 3 +-- src/app/images/upload/page.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 82a8bf6..7c520af 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,7 +6,6 @@ - diff --git a/src/app/images/upload/page.tsx b/src/app/images/upload/page.tsx index 30ed191..e43cfb4 100644 --- a/src/app/images/upload/page.tsx +++ b/src/app/images/upload/page.tsx @@ -17,7 +17,7 @@ function useApiKey(): ()=>Promise { headers: { 'Authorization': getCookie("access_token")!, } - }).then(it =>it.json()).then(it=>it.apiKey); + }).then(it =>it.json()).then(it=>it.apiToken); setApiKeyP(h.p); return await h.p; };