fix: check the settings for extension installed (#2764)
This commit is contained in:
@@ -71,7 +71,7 @@ async def stop_extension_background_work(ext_id: str) -> bool:
|
||||
Stop background work for extension (like asyncio.Tasks, WebSockets, etc).
|
||||
Extensions SHOULD expose a `api_stop()` function.
|
||||
"""
|
||||
upgrade_hash = settings.lnbits_upgraded_extensions.get(ext_id, "")
|
||||
upgrade_hash = settings.extension_upgrade_hash(ext_id)
|
||||
ext = Extension(ext_id, True, upgrade_hash=upgrade_hash)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user