Skip to content

Commit 2db2d66

Browse files
committed
fix: fetch
1 parent 32832ba commit 2db2d66

File tree

4 files changed

+38
-17
lines changed

4 files changed

+38
-17
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
},
2222
"pnpm": {
2323
"patchedDependencies": {
24-
24+
25+
2526
}
2627
}
2728
}

packages/botcore/src/modules/musicSearch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default <T extends BotTypes>({ bot, env, getContext, musicToFile }: Build
2222
return true;
2323
}
2424
const results = Song.search(event.data.trim().toLowerCase());
25+
console.log(results);
2526
const answer = event.answer()
2627
.withCacheTime(60);
2728
await Promise.all(results.map(async song => {

patches/[email protected]

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
diff --git a/index.js b/index.js
2+
index 6538b9c25419166ecc69256f059f689a5eb284ee..287c3d117486de280879099f31a02cf6a48b609e 100644
3+
--- a/index.js
4+
+++ b/index.js
5+
@@ -1,4 +1,3 @@
6+
-const fetch = require('isomorphic-fetch')
7+
8+
class Telegraph {
9+
constructor (token, opts) {

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)