From b1f4019622a6d8e517fb5b0358c83959cd4cf9ea Mon Sep 17 00:00:00 2001 From: Bob Burningham Date: Mon, 13 Nov 2023 00:11:52 -0800 Subject: [PATCH] fixed more typos --- app/api/direct-messages/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/direct-messages/route.ts b/app/api/direct-messages/route.ts index 5996d1e..722930b 100644 --- a/app/api/direct-messages/route.ts +++ b/app/api/direct-messages/route.ts @@ -46,7 +46,7 @@ export async function GET( orderBy: { createdAt: "desc", } - }); + }) } else { messages = await db.directMessage.findMany({ take: MESSAGES_BATCH, @@ -63,7 +63,7 @@ export async function GET( orderBy: { createdAt: "desc", } - }) + }); } let nextCursor = null;