mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
refactor: remove legacy config files (#1294)
This commit is contained in:
committed by
GitHub
parent
edc7f81486
commit
c8f331675c
@@ -12,7 +12,7 @@ class V2PluginDataAPI(apigroup.APIGroup):
|
||||
super().__init__(prefix+"/plugin", ap)
|
||||
|
||||
async def do(self, *args, **kwargs):
|
||||
if not self.ap.system_cfg.data['report-usage']:
|
||||
if not self.ap.instance_config.data['telemetry']['report']:
|
||||
return None
|
||||
return await super().do(*args, **kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user