Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit fad222e

Browse files
committed
fuck the fetch
1 parent 98d1390 commit fad222e

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

package-lock.json

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"@types/lodash-es": "^4.17.6",
6666
"@types/negotiator": "^0.6.1",
6767
"@types/node": "18.14.5",
68+
"@types/node-fetch": "^2.6.2",
6869
"@types/papaparse": "^5.3.7",
6970
"@types/react": "18.0.28",
7071
"@types/react-color": "^3.0.6",

src/api/user.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { SITE_INTERNAL_HEADER_URL } from "@/configs/constants";
2-
import fetch from "node-fetch";
32

43
export async function logout() {
54
const response = await fetch("/api/chatgpt/user", {

0 commit comments

Comments
 (0)