fix: comment out the route for interactions callback
This commit is contained in:
parent
1b21988617
commit
9febabf9a8
@ -32,7 +32,7 @@ export const NO_AUTHORIZATION_ROUTES = [
|
|||||||
"GET /invites/",
|
"GET /invites/",
|
||||||
// Routes with a seperate auth system
|
// Routes with a seperate auth system
|
||||||
/^(POST|HEAD|GET|PATCH|DELETE) \/webhooks\/\d+\/\w+\/?/, // no token requires auth
|
/^(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
|
// Public information endpoints
|
||||||
"GET /ping",
|
"GET /ping",
|
||||||
"GET /gateway",
|
"GET /gateway",
|
||||||
|
|||||||
Reference in New Issue
Block a user