mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 18:11:30 +01:00
doc: update coments
This commit is contained in:
parent
ca28420e48
commit
7ef4c18b56
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user