Skip to content

Commit

Permalink
fix: remove node-fetch and use native
Browse files Browse the repository at this point in the history
It just doesn't work anymore, some details:
node-fetch/node-fetch#1735 (comment)
  • Loading branch information
Noobgam committed Nov 2, 2023
1 parent e442a37 commit 3f37c83
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -24,7 +24,6 @@
"private": true,
"dependencies": {
"mysql2": "^3.6.2",
"node-fetch": "^3.3.2",
"prom-client": "^14.2.0",
"tslog": "^4.9.2",
"typescript": "^5.2.2"
Expand Down
1 change: 0 additions & 1 deletion src/anki/client.ts
@@ -1,5 +1,4 @@
import {AnkiConfig} from "../plugins/anki/anki_config";
import fetch from "node-fetch";
import {ReviewedCard} from "./model";
import {log} from "../config";

Expand Down

0 comments on commit 3f37c83

Please sign in to comment.