fix: comment out the route for interactions callback

This commit is contained in:
CyberL1 2025-10-18 14:12:24 +02:00 committed by Rory&
parent 1b21988617
commit 9febabf9a8

View File

@ -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",