fix: bugs

This commit is contained in:
Cory Dransfeldt 2024-05-07 17:27:28 -07:00
parent f55e39a84d
commit 8991366392
No known key found for this signature in database
5 changed files with 5 additions and 5 deletions

View file

@ -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) {