From 9faf70dd2c422fb6ebba2bd8291feeeee468540a Mon Sep 17 00:00:00 2001 From: Lipraty Date: Mon, 30 Oct 2023 15:30:07 +0800 Subject: [PATCH] chore: fix missing modifier --- packages/local/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/local/src/index.ts b/packages/local/src/index.ts index 0bb972751..6d160ef06 100644 --- a/packages/local/src/index.ts +++ b/packages/local/src/index.ts @@ -16,7 +16,7 @@ declare module 'koishi' { } class LocalImageSource extends ImageSource { - static inject = { + static override inject = { required: ['booru'], optional: ['database', 'cache'] }