fix: created_at search
This commit is contained in:
parent
4db031c10e
commit
e4197ce66d
1 changed files with 2 additions and 2 deletions
4
crud.py
4
crud.py
|
|
@ -217,11 +217,11 @@ def build_where_clause(relay_id:str, filter:NostrFilter):
|
|||
values += filter.kinds
|
||||
|
||||
if filter.since:
|
||||
where.append("reated_at >= ?")
|
||||
where.append("created_at >= ?")
|
||||
values += [filter.since]
|
||||
|
||||
if filter.until:
|
||||
where.append("created_at <= ?")
|
||||
where.append("created_at < ?")
|
||||
values += [filter.until]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue