fixed messages typo

This commit is contained in:
Bob Burningham 2023-11-13 00:12:04 -08:00
parent b1f4019622
commit 7414dff177

View File

@ -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;