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