style: email tweaking

This commit is contained in:
Riccardo
2023-12-19 20:04:32 +01:00
parent c0d6b73aca
commit 3af079a0f5
17 changed files with 155 additions and 110 deletions

View File

@@ -47,7 +47,11 @@ export async function GET(request: Request) {
createdAt: {
gt: new Date(Date.now() - 1000 * 60 * 60 * 24)
}
}
},
orderBy: {
score: 'desc'
},
take: 25
});
const validRankedNews = news