serverless-slack
Advanced tools
Comparing version 1.0.13 to 1.0.14
{ | ||
"name": "serverless-slack", | ||
"description": "A Slack App Framework for AWS Lambda / Serverless.js", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"main": "src/index.js", | ||
@@ -6,0 +6,0 @@ "author": "John Agan <john@slack-corp.com>", |
@@ -128,3 +128,3 @@ 'use strict'; | ||
let json = payload.toString(); | ||
this.eventNames.forEach(exp => { | ||
this.eventNames().forEach(exp => { | ||
if (exp instanceof RegExp && exp.test(json)) events.push(exp); | ||
@@ -131,0 +131,0 @@ }); |
9815