Skip to content

Commit

Permalink
Merge pull request #45 from ntwb/patch-1
Browse files Browse the repository at this point in the history
Use the defined `slackVerificationToken` constant
  • Loading branch information
aoberoi committed Mar 20, 2019
1 parent 58fa8d4 commit de36804
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -14,7 +14,7 @@ if (!slackVerificationToken || !slackAccessToken) {
}

// Create the adapter using the app's verification token
const slackInteractions = createMessageAdapter(process.env.SLACK_VERIFICATION_TOKEN);
const slackInteractions = createMessageAdapter(slackVerificationToken);

// Create a Slack Web API client
const web = new WebClient(slackAccessToken);
Expand Down

0 comments on commit de36804

Please sign in to comment.