feat: init lnbits_relay_information

This commit is contained in:
Vlad Stan 2023-02-07 12:21:23 +02:00
parent e4197ce66d
commit 4c9d1a4395
3 changed files with 22 additions and 6 deletions

View file

@ -54,12 +54,12 @@ async def get_public_relay(relay_id: str) -> Optional[dict]:
relay = NostrRelay.from_row(row)
return {
**NostrRelay.info(),
"id": relay.id,
"name": relay.name,
"description":relay.description,
"pubkey":relay.pubkey,
"contact":relay.contact,
"supported_nips":relay.supported_nips,
"contact":relay.contact
}