From 7ef4c18b56340df0bdf849137678637651cee32e Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 15 Feb 2023 17:31:10 +0200 Subject: [PATCH] doc: update coments --- lnbits/core/helpers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lnbits/core/helpers.py b/lnbits/core/helpers.py index c40f031e8..7f3554010 100644 --- a/lnbits/core/helpers.py +++ b/lnbits/core/helpers.py @@ -48,8 +48,9 @@ async def run_migration(db: Connection, migrations_module: Any, current_version: async def stop_extension_background_work(ext_id: str, user: str): """ - Stop background workk for extension (like asyncio.Tasks, WebSockets, etc) - It tries first to call the endpoint using `http` and if ti fails it tries using `https` + Stop background work for extension (like asyncio.Tasks, WebSockets, etc) + Extensions SHOULD expoze a DELETE enpoint at the root level of their API. + This function tries first to call the endpoint using `http` and if if fails it tries using `https`. """ async with httpx.AsyncClient() as client: try: