Skip to content

Commit

Permalink
chore: shit
Browse files Browse the repository at this point in the history
  • Loading branch information
motorina0 committed Oct 29, 2024
1 parent 6ee7b49 commit e57c224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ async def delete_inferior_ranking(name: str, rank: int):


async def create_settings(settings: Nip5Settings):
assert settings.owner_id, 'Missing owner ID.'
await db.insert("nostrnip5.settings", settings)


Expand Down
2 changes: 1 addition & 1 deletion models.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class AddressFilters(FilterModel):


class Nip5Settings(BaseModel):
owner_id: str
owner_id: Optional[str] = None
cloudflare_access_token: Optional[str] = None
lnaddress_api_admin_key: Optional[str] = ""
lnaddress_api_endpoint: Optional[str] = "https://nostr.com"

0 comments on commit e57c224

Please sign in to comment.