Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nishch committed Jan 9, 2018
1 parent 08bcf04 commit 4a42422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SlackBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function Slackbot(configuration) {
var endpoint = '/slack/receive';
if (authenticationTokens !== undefined && arguments.length > 1 && arguments[1].length) {
//botkit allows an array of tokens or multiple tokens as variable length params
var tokens = Array.prototype.slice.call(arguments).slice(1);
var tokens = Array.prototype.slice.call(arguments, 1);
secureWebhookEndpoints(webserver, endpoint, tokens);
}

Expand Down

0 comments on commit 4a42422

Please sign in to comment.