This commit is contained in:
parent
60676ff15b
commit
56636823f6
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ def nwcprovider_stop():
|
|||
except Exception as ex:
|
||||
logger.warning(ex)
|
||||
|
||||
|
||||
logger.debug("NWC Service Provider extension loaded")
|
||||
def nwcprovider_start():
|
||||
task = create_permanent_unique_task("ext_nwcprovider", handle_nwc)
|
||||
scheduled_tasks.append(task)
|
||||
|
|
|
|||
2
nwcp.py
2
nwcp.py
|
|
@ -52,7 +52,7 @@ class MainSubscription:
|
|||
arbitrary_types_allowed = True
|
||||
|
||||
|
||||
class NWCServiceProvider(BaseModel):
|
||||
class NWCServiceProvider:
|
||||
def __init__(self, private_key: Optional[str] = None, relay: Optional[str] = None):
|
||||
if not relay: # Connect to nostrclient
|
||||
relay = "nostrclient"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue