Skip to content

Commit

Permalink
fix today's report not showing up on console
Browse files Browse the repository at this point in the history
  • Loading branch information
Dnouv committed Mar 21, 2023
1 parent 08f7a4c commit ddf19ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ const ModerationConsoleTable: FC<{ reload: MutableRefObject<() => void>; onReloa
sort: JSON.stringify({ [sortBy]: sortDirection === 'asc' ? 1 : -1 }),
count: itemsPerPage,
offset: current,
...(end && { latest: end }),
...(start && { oldest: start }),
...(end && { latest: `${new Date(end).toISOString().slice(0, 10)}T23:59:59.999Z` }),
...(start && { oldest: `${new Date(start).toISOString().slice(0, 10)}T23:59:59.999Z` }),
}),
[current, end, itemsPerPage, sortBy, sortDirection, start, text],
),
Expand Down

0 comments on commit ddf19ff

Please sign in to comment.