serverless-slack
Advanced tools
Comparing version 1.0.22 to 1.0.23
{ | ||
"name": "serverless-slack", | ||
"description": "A Slack App Framework for AWS Lambda / Serverless.js", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"main": "src/index.js", | ||
@@ -6,0 +6,0 @@ "author": "John Agan <john@slack-corp.com>", |
@@ -76,8 +76,4 @@ 'use strict'; | ||
if (!ephemeral) message.response_type = 'in_channel'; | ||
return this.send(this.response_url, message); | ||
return this.send(this.response_url, message); | ||
// incoming webhooks | ||
} else if (this.auth.incoming_webhook) { | ||
return this.send(this.auth.incoming_webhook.url, message); | ||
// fallback when not ephemeral | ||
@@ -84,0 +80,0 @@ } else { |
10006
308