fix: bugs
This commit is contained in:
parent
f55e39a84d
commit
8991366392
5 changed files with 5 additions and 5 deletions
|
@ -15,7 +15,7 @@ const fetchDataForPeriod = async (startPeriod, fields, table) => {
|
|||
.from(table)
|
||||
.select(fields)
|
||||
.order('listened_at', { ascending: false })
|
||||
.gte('listened_at', startPeriod.toUTC().toSeconds())
|
||||
.gte('listened_at', startPeriod.toSeconds())
|
||||
.range(rangeStart, rangeStart + PAGE_SIZE - 1)
|
||||
|
||||
if (error) {
|
||||
|
|
Reference in a new issue