We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent affeb1d commit f9dcb05Copy full SHA for f9dcb05
1 file changed
src/lib/middleware/requireSlackToken.ts
@@ -15,15 +15,6 @@ export const requireSlackToken = async (
15
return;
16
}
17
18
- if (req.body.api_app_id !== process.env.SLACK_APP_ID) {
19
- res.status(401).send("Unauthorized");
20
- console.warn(
21
- "Received request with invalid app ID:",
22
- req.body.api_app_id,
23
- );
24
- return;
25
- }
26
-
27
if (!signature || !timestamp) {
28
res.status(401).send("Unauthorized");
29
console.warn("Missing Slack signature or timestamp");
0 commit comments