We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b262f5b commit eb233d5Copy full SHA for eb233d5
packages/api/src/router/statusPage.ts
@@ -367,7 +367,7 @@ export const statusPageRouter = createTRPCRouter({
367
});
368
369
const maintenances = _page.maintenances.sort(
370
- (a, b) => a.from.getTime() - b.from.getTime(),
+ (a, b) => b.from.getTime() - a.from.getTime(),
371
);
372
373
return selectPublicPageSchemaWithRelation.parse({
0 commit comments