From 820fdab2a0a38390ab591627f7d4b5af069eadae Mon Sep 17 00:00:00 2001 From: Alma Date: Fri, 11 Apr 2025 11:59:51 +0200 Subject: [PATCH] widget chat 13 --- app/api/rocket-chat/messages/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`, {