mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-13 17:26:04 +00:00
style(plugins): ruff format logs route
This commit is contained in:
@@ -282,9 +282,7 @@ class PluginsRouterGroup(group.RouterGroup):
|
||||
except (TypeError, ValueError):
|
||||
limit = 200
|
||||
level = quart.request.args.get('level') or None
|
||||
logs = await self.ap.plugin_connector.get_plugin_logs(
|
||||
author, plugin_name, limit=limit, level=level
|
||||
)
|
||||
logs = await self.ap.plugin_connector.get_plugin_logs(author, plugin_name, limit=limit, level=level)
|
||||
return self.success(data={'logs': logs})
|
||||
|
||||
@self.route(
|
||||
|
||||
Reference in New Issue
Block a user