mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 06:34:15 +00:00
fix: mii reviewedAt property for time select and responsiveness for sort menus
also bypassCache profile url query param
This commit is contained in:
parent
af37b05ab1
commit
2209a17687
5 changed files with 16 additions and 5 deletions
|
|
@ -72,7 +72,7 @@ export async function GET(request: NextRequest) {
|
|||
...(!quarantined && !userId && { quarantined: false }),
|
||||
// Time range
|
||||
...(timeRange && {
|
||||
createdAt: {
|
||||
reviewedAt: {
|
||||
gte: new Date(Date.now() - { day: 86400000, week: 604800000, month: 2592000000, year: 31536000000 }[timeRange]),
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue