chore: fix typos

This commit is contained in:
Vlad Stan
2023-02-15 17:32:49 +02:00
parent 7ef4c18b56
commit d32ad082c7

View File

@@ -48,8 +48,8 @@ async def run_migration(db: Connection, migrations_module: Any, current_version:
async def stop_extension_background_work(ext_id: str, user: str):
"""
Stop background work for extension (like asyncio.Tasks, WebSockets, etc)
Extensions SHOULD expoze a DELETE enpoint at the root level of their API.
Stop background work for extension (like asyncio.Tasks, WebSockets, etc).
Extensions SHOULD expose 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: