fixed messages typo
This commit is contained in:
parent
b1f4019622
commit
7414dff177
@ -46,7 +46,7 @@ export async function GET(
|
||||
orderBy: {
|
||||
createdAt: "desc",
|
||||
}
|
||||
});
|
||||
})
|
||||
} else {
|
||||
messages = await db.message.findMany({
|
||||
take: MESSAGES_BATCH,
|
||||
@ -63,7 +63,7 @@ export async function GET(
|
||||
orderBy: {
|
||||
createdAt: "desc",
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
let nextCursor = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user