feat: init lnbits_relay_information
This commit is contained in:
parent
e4197ce66d
commit
4c9d1a4395
3 changed files with 22 additions and 6 deletions
4
crud.py
4
crud.py
|
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue