From 4b4bea196a3d3c80fd3578fccae5e44ae6160f1e Mon Sep 17 00:00:00 2001 From: gaord Date: Wed, 26 Jun 2024 16:02:36 +0800 Subject: [PATCH] updateUserFeedback api could be authenticated by api key through bearer token as well with more flexibility (#1855) --- .../app/src/pages/api/core/chat/feedback/updateUserFeedback.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/app/src/pages/api/core/chat/feedback/updateUserFeedback.ts b/projects/app/src/pages/api/core/chat/feedback/updateUserFeedback.ts index b02274a0d7d..bba44e9dfdc 100644 --- a/projects/app/src/pages/api/core/chat/feedback/updateUserFeedback.ts +++ b/projects/app/src/pages/api/core/chat/feedback/updateUserFeedback.ts @@ -25,6 +25,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) await autChatCrud({ req, authToken: true, + authApiKey: true, appId, teamId, teamToken,