Reconcile validated Turso runtime fix with republished main history
Hop-State: A_06FP6A2CG8PVBRDVQ5WGCN0 Hop-Proposal: R_06FP6A0YW23RY0N7Z5M8DW0 Hop-Task: T_06FP67JVF4BHPYKKC37XKQ8 Hop-Attempt: AT_06FP69RZ96ZMNF9Y5S02MT0
This commit is contained in:
@@ -147,7 +147,7 @@ export async function GET(request: Request, context: RouteContext) {
|
||||
with: likedPostRelations,
|
||||
},
|
||||
},
|
||||
orderBy: () => [desc(likes.createdAt)],
|
||||
orderBy: (likes, { desc }) => [desc(likes.createdAt)],
|
||||
limit,
|
||||
});
|
||||
|
||||
@@ -157,7 +157,7 @@ export async function GET(request: Request, context: RouteContext) {
|
||||
|
||||
const swarmLikedRows = await db.query.userSwarmLikes.findMany({
|
||||
where: { userId: user.id },
|
||||
orderBy: () => [desc(userSwarmLikes.likedAt)],
|
||||
orderBy: (userSwarmLikes, { desc }) => [desc(userSwarmLikes.likedAt)],
|
||||
limit,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user