Skip to content

Commit

Permalink
2 days interval workaround for different timezones; restore svg
Browse files Browse the repository at this point in the history
  • Loading branch information
Soxasora committed Dec 23, 2024
1 parent 6e4e4ff commit 3795668
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/resolvers/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,11 @@ export default {
t AS "sortTime", NULL as "earnedSats", 'SatSummary' AS type
FROM user_stats_days
WHERE id = $1
AND t >= date_trunc('day', CURRENT_DATE - INTERVAL '1 day')
AND t >= date_trunc('day', CURRENT_DATE - INTERVAL '2 day')
AND t <= $2
GROUP BY t
ORDER BY "sortTime" DESC
LIMIT ${LIMIT})`
LIMIT 1)`
)
}

Expand Down
2 changes: 1 addition & 1 deletion svgs/lightning.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3795668

Please sign in to comment.