mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-27 22:24:14 +00:00
fix: better admin queue
This commit is contained in:
parent
50bad620ce
commit
0bd2d6d565
5 changed files with 53 additions and 13 deletions
|
|
@ -89,6 +89,10 @@ export async function GET(request: NextRequest) {
|
|||
_count: {
|
||||
select: { likedBy: true },
|
||||
},
|
||||
// Admin
|
||||
...(parentPage === "admin" && {
|
||||
description: true,
|
||||
}),
|
||||
};
|
||||
|
||||
let totalCount: number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue