Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
smocky committed Aug 12, 2021
1 parent 7e54554 commit 07c413e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
SLACK_SIGNING_SECRET=1234
SLACK_BOT_TOKEN=xoxb-1234
SLACK_APP_TOKEN=xapp-1234
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { App, WorkflowStep } = require('@slack/bolt');
// Initializes your app in socket mode with your app token and signing secret
const app = new App({
token: process.env.SLACK_BOT_TOKEN,
signingSecret: process.env.SLACK_SIGNING_SECRET,
// signingSecret: process.env.SLACK_SIGNING_SECRET,
socketMode: true, // add this
appToken: process.env.SLACK_APP_TOKEN // add this
});
Expand Down

0 comments on commit 07c413e

Please sign in to comment.