Commit 7fa57883 authored by nanahira's avatar nanahira

add http settings

parent 6ee0f78d
This diff is collapsed.
...@@ -44,11 +44,11 @@ ...@@ -44,11 +44,11 @@
"testEnvironment": "node" "testEnvironment": "node"
}, },
"dependencies": { "dependencies": {
"koishi-thirdeye": "^11.1.14" "koishi-thirdeye": "^11.1.16"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.10.4", "koishi": "^4.10.6",
"koishi-plugin-pics": "^10.2.1" "koishi-plugin-pics": "^10.6.1"
}, },
"devDependencies": { "devDependencies": {
"@koishijs/plugin-console": "^4.7.1", "@koishijs/plugin-console": "^4.7.1",
......
...@@ -9,9 +9,6 @@ export * from './config'; ...@@ -9,9 +9,6 @@ export * from './config';
export default class PicSourceTwitter extends PicSourcePlugin( export default class PicSourceTwitter extends PicSourcePlugin(
PicSourceTwitterConfig, PicSourceTwitterConfig,
) { ) {
@Inject(true)
http: Quester;
async randomPic(tags: string[]) { async randomPic(tags: string[]) {
const result = await this.http.post<{ const result = await this.http.post<{
success: boolean; success: boolean;
......
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