Skip to content

Commit 4765adf

Browse files
committed
optional slack secret
1 parent bbee16b commit 4765adf

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/backend/src/integrations/slack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const receiver = new ExpressReceiver({
88

99
// Initialize the Bolt app
1010
const slackApp = new App({
11-
token: process.env.SLACK_BOT_TOKEN,
11+
token: process.env.SLACK_BOT_TOKEN || '',
1212
receiver
1313
});
1414

src/backend/src/routes/slack.routes.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ slackApp.action('sabo_submitted_confirmation', async ({ ack, body, logger, respo
9494
await ack();
9595

9696
try {
97-
9897
// Validate the incoming action body structure
9998
if (!validateSlackActionBody(body)) {
10099
logger.error('Invalid Slack action body structure');

0 commit comments

Comments
 (0)