refactor: remove unused param
This commit is contained in:
+2
-2
@@ -118,7 +118,7 @@ async def startup(app: FastAPI):
|
|||||||
create_llms_txt_route(app)
|
create_llms_txt_route(app)
|
||||||
|
|
||||||
# initialize tasks
|
# initialize tasks
|
||||||
register_async_tasks(app)
|
register_async_tasks()
|
||||||
|
|
||||||
enqueue_admin_notification(
|
enqueue_admin_notification(
|
||||||
NotificationType.server_start_stop,
|
NotificationType.server_start_stop,
|
||||||
@@ -495,7 +495,7 @@ async def check_and_register_extensions(app: FastAPI) -> None:
|
|||||||
await update_installed_extension_state(ext_id=ext.code, active=False)
|
await update_installed_extension_state(ext_id=ext.code, active=False)
|
||||||
|
|
||||||
|
|
||||||
def register_async_tasks(app: FastAPI) -> None:
|
def register_async_tasks() -> None:
|
||||||
|
|
||||||
task_manager.init()
|
task_manager.init()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user