Commit 5c95a375 authored by nanahira's avatar nanahira

fix compile

parent 32ecb86e
This diff is collapsed.
...@@ -31,11 +31,11 @@ ...@@ -31,11 +31,11 @@
}, },
"homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-picsource-heisi", "homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-picsource-heisi",
"peerDependencies": { "peerDependencies": {
"koishi": "^4.7.4", "koishi": "^4.7.5",
"koishi-plugin-pics": "^9.3.3" "koishi-plugin-pics": "^9.4.1"
}, },
"dependencies": { "dependencies": {
"koishi-thirdeye": "^10.2.8", "koishi-thirdeye": "^10.3.1",
"schemastery-gen": "^3.1.10" "schemastery-gen": "^3.1.10"
}, },
"devDependencies": { "devDependencies": {
......
...@@ -27,7 +27,6 @@ export default class PicSourceHeisi extends PicSourcePlugin( ...@@ -27,7 +27,6 @@ export default class PicSourceHeisi extends PicSourcePlugin(
onApply() { onApply() {
this.cache.table('heisiList', { maxAge: this.config.ttl }); this.cache.table('heisiList', { maxAge: this.config.ttl });
this.getRandomUrl().then(); this.getRandomUrl().then();
super.onApply();
} }
async randomPic() { async randomPic() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment