diff --git a/app/api/rocket-chat/messages/route.ts b/app/api/rocket-chat/messages/route.ts index 03a4395b..2fa29418 100644 --- a/app/api/rocket-chat/messages/route.ts +++ b/app/api/rocket-chat/messages/route.ts @@ -80,7 +80,7 @@ export async function GET() { console.log(`Fetching messages for room ${subscription.name} using endpoint ${endpoint}`); - // Get the most recent messages from the room + // Get the most recent messages from the room using the user's personal access token const messagesResponse = await fetch( `https://parole.slm-lab.net/api/v1/${endpoint}?roomId=${subscription.rid}&count=1`, {