refactor: extract nostr to __init__

This commit is contained in:
Vlad Stan 2023-06-23 11:15:57 +03:00
parent e35dafe056
commit 99022f2b4a
4 changed files with 12 additions and 10 deletions

View file

@ -9,7 +9,7 @@ from starlette.exceptions import HTTPException
from lnbits.decorators import check_admin
from lnbits.helpers import urlsafe_short_hash
from . import nostrclient_ext, scheduled_tasks
from . import nostr, nostrclient_ext, scheduled_tasks
from .crud import add_relay, delete_relay, get_relays
from .helpers import normalize_public_key
from .models import Relay, RelayList, TestMessage, TestMessageResponse