From 9febabf9a8b53243ef9252a57280422aada865ae Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Sat, 18 Oct 2025 14:12:24 +0200 Subject: [PATCH] fix: comment out the route for interactions callback --- src/api/middlewares/Authentication.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/middlewares/Authentication.ts b/src/api/middlewares/Authentication.ts index 71c2a168..83b98925 100644 --- a/src/api/middlewares/Authentication.ts +++ b/src/api/middlewares/Authentication.ts @@ -32,7 +32,7 @@ export const NO_AUTHORIZATION_ROUTES = [ "GET /invites/", // Routes with a seperate auth system /^(POST|HEAD|GET|PATCH|DELETE) \/webhooks\/\d+\/\w+\/?/, // no token requires auth - /^POST \/interactions\/\d+\/\w+\/callback/, + // /^POST \/interactions\/\d+\/\w+\/callback/, // This is marked as Unauthoricated route on https://discord.food. But when it is then not all requests have req.user_id? // Public information endpoints "GET /ping", "GET /gateway",