refactor: extract client_manager

This commit is contained in:
Vlad Stan 2023-02-08 08:49:52 +02:00
parent 14df3a6ffb
commit b2b5058784
2 changed files with 5 additions and 3 deletions

View file

@ -22,10 +22,13 @@ def nostrrelay_renderer():
return template_renderer(["lnbits/extensions/nostrrelay/templates"])
from .client_manager import NostrClientManager
from .models import NostrRelay
from .views import * # noqa
from .views_api import * # noqa
client_manager = NostrClientManager()
settings.lnbits_relay_information = {
"name": "LNbits Nostr Relay",
"description": "Multiple relays are supported",