fix: better admin queue

This commit is contained in:
trafficlunar 2026-04-19 00:10:26 +01:00
parent 50bad620ce
commit 0bd2d6d565
5 changed files with 53 additions and 13 deletions

View file

@ -89,6 +89,10 @@ export async function GET(request: NextRequest) {
_count: {
select: { likedBy: true },
},
// Admin
...(parentPage === "admin" && {
description: true,
}),
};
let totalCount: number;