serverless-basic-authentication
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -75,2 +75,8 @@ const fs = require('fs'); | ||
Object.keys(fnctn.events).forEach((fnctnEvent) => { | ||
// if http doesn't exist, skip | ||
if(!('http' in serverless.service.functions[function_name].events[fnctn_event])) { | ||
return; | ||
} | ||
if ( | ||
@@ -77,0 +83,0 @@ this.serverless.service.functions[functionName].events[fnctnEvent].http != null |
{ | ||
"name": "serverless-basic-authentication", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"devDependencies": { | ||
"eslint": "^5.12.1", | ||
"eslint": "^5.15.1", | ||
"eslint-config-airbnb-base": "^13.1.0", | ||
@@ -7,0 +7,0 @@ "eslint-plugin-import": "^2.14.0", |
8847
136