chore: code format

This commit is contained in:
Vlad Stan 2023-02-16 14:19:21 +02:00
parent 5a984bddcd
commit aed098499a
5 changed files with 31 additions and 15 deletions

View file

@ -375,10 +375,11 @@ async def get_account(
return NostrAccount.from_row(row) if row else None
async def get_accounts(
relay_id: str,
allowed = True,
blocked = False,
allowed=True,
blocked=False,
) -> List[NostrAccount]:
rows = await db.fetchall(
"SELECT * FROM nostrrelay.accounts WHERE relay_id = ? AND allowed = ? AND blocked = ?",