Skip to content

Commit 6666f53

Browse files
committed
fix(ci): fix crawler.ts
1 parent 139d49a commit 6666f53

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

data/clubs/encrypted

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@vueuse/core": "^11.0.3",
3131
"class-variance-authority": "^0.7.0",
3232
"clsx": "^2.1.1",
33+
"dotenv": "^16.4.5",
3334
"h3": "^1.12.0",
3435
"h3-clerk": "^0.4.12",
3536
"iron-webcrypto": "^1.2.1",

pnpm-lock.yaml

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

utils/crawler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import fetch, { Headers } from 'node-fetch'
21
import * as dotenv from 'dotenv'
3-
import crypto from 'uncrypto'
42
import * as Iron from 'iron-webcrypto'
3+
import { fetch, Headers } from 'ofetch'
4+
import crypto from 'uncrypto'
55
import { createStorage } from 'unstorage'
66
import fsLiteDriver from 'unstorage/drivers/fs-lite'
77
import type { Club, Clubs } from '~/types/clubs'

0 commit comments

Comments
 (0)