diff --git a/lnbits/app.py b/lnbits/app.py index 73e3d68ad..e816c8e2e 100644 --- a/lnbits/app.py +++ b/lnbits/app.py @@ -118,7 +118,7 @@ async def startup(app: FastAPI): create_llms_txt_route(app) # initialize tasks - register_async_tasks(app) + register_async_tasks() enqueue_admin_notification( 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) -def register_async_tasks(app: FastAPI) -> None: +def register_async_tasks() -> None: task_manager.init()