Skip to content

Commit

Permalink
fix: issue #151
Browse files Browse the repository at this point in the history
  • Loading branch information
yukigesho committed Dec 12, 2024
1 parent 7836e21 commit 52ecabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trpc/routers/_app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export const appRouter = createTRPCRouter({
},
...(input.cursor ? { id: { lt: input.cursor } } : {}),
},
orderBy: { id: 'desc' },
orderBy: [{ is_accepted: 'desc' }, { id: 'desc' }],
take: input.limit,
select: {
id: true,
Expand Down

0 comments on commit 52ecabf

Please sign in to comment.