diff --git a/src/query-config.ts b/src/query-config.ts index b581af6..70933ef 100644 --- a/src/query-config.ts +++ b/src/query-config.ts @@ -81,6 +81,12 @@ export class QueryConfig { key: 'detect', }); } + async getConfigByKey(key: string) { + return this.post>({ + key: 'defaultConfig', + configKey: key, + }); + } } /**