chore: code clean-up
This commit is contained in:
parent
2d741c8627
commit
eb443902c2
2 changed files with 0 additions and 10 deletions
4
crud.py
4
crud.py
|
|
@ -76,8 +76,6 @@ async def get_events(relay_id: str, filter: NostrFilter) -> List[NostrEvent]:
|
|||
if filter.limit and type(filter.limit) == int and filter.limit > 0:
|
||||
query += f" LIMIT {filter.limit}"
|
||||
|
||||
# print("### query: ", query)
|
||||
# print("### values: ", tuple(values))
|
||||
rows = await db.fetchall(query, tuple(values))
|
||||
|
||||
events = []
|
||||
|
|
@ -86,8 +84,6 @@ async def get_events(relay_id: str, filter: NostrFilter) -> List[NostrEvent]:
|
|||
event.tags = await get_event_tags(relay_id, event.id)
|
||||
events.append(event)
|
||||
|
||||
print("### events: ", len(events))
|
||||
|
||||
return events
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue