fix: created_at search

This commit is contained in:
Vlad Stan 2023-02-07 11:44:26 +02:00
parent 4db031c10e
commit e4197ce66d

View file

@ -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]