im not going insane 2

This commit is contained in:
nea 2024-12-08 21:29:30 +03:30 committed by amy
parent 04b66d3e5a
commit 9aea1828e9
Signed by: amy
SSH key fingerprint: SHA256:Y6VEv6ZOxI6zqjjOF4luhfaCoY+zDK0w62P+qhQYie4
2 changed files with 2 additions and 3 deletions

3
.idea/workspace.xml generated
View file

@ -6,7 +6,6 @@
<component name="ChangeListManager">
<list default="true" id="4cc93404-63bf-4aee-bd04-2b0203a508b3" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/helpers.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/helpers.tsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/images/upload/page.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/images/upload/page.tsx" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
@ -77,7 +76,7 @@
<workItem from="1733252479518" duration="1692000" />
<workItem from="1733254541032" duration="4316000" />
<workItem from="1733477426661" duration="67000" />
<workItem from="1733679455313" duration="825000" />
<workItem from="1733679455313" duration="1302000" />
</task>
<servers />
</component>

View file

@ -17,7 +17,7 @@ function useApiKey(): ()=>Promise<string> {
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;
};