diff options
Diffstat (limited to 'src/background/infrastructures/ContentMessageListener.ts')
-rw-r--r-- | src/background/infrastructures/ContentMessageListener.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/background/infrastructures/ContentMessageListener.ts b/src/background/infrastructures/ContentMessageListener.ts index 3d24741..f80d686 100644 --- a/src/background/infrastructures/ContentMessageListener.ts +++ b/src/background/infrastructures/ContentMessageListener.ts @@ -101,8 +101,8 @@ export default class ContentMessageListener { return this.commandController.exec(text); } - onSettingsQuery(): Promise<any> { - return this.settingController.getSetting(); + async onSettingsQuery(): Promise<any> { + return (await this.settingController.getSetting()).toJSON(); } onFindGetKeyword(): Promise<string> { |