File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const compileIamRole = require('./deploy/stepFunctions/compileIamRole');
77const httpValidate = require ( './deploy/events/apiGateway/validate' ) ;
88const httpResources = require ( './deploy/events/apiGateway/resources' ) ;
99const httpMethods = require ( './deploy/events/apiGateway/methods' ) ;
10- const httpAuthorizers = require ( './deploy/ events/apiGateway/authorizers' ) ;
10+ const httpAuthorizers = require ( 'serverless/lib/plugins/aws/package/compile/ events/apiGateway/lib /authorizers' ) ;
1111const httpCors = require ( './deploy/events/apiGateway/cors' ) ;
1212const httpApiKeys = require ( './deploy/events/apiGateway/apiKeys' ) ;
1313const httpUsagePlan = require ( './deploy/events/apiGateway/usagePlan' ) ;
@@ -103,7 +103,8 @@ class ServerlessStepFunctions {
103103 . then ( this . compileActivities ) ,
104104 'package:compileEvents' : ( ) =>
105105 this . compileScheduledEvents ( ) . then ( ( ) => {
106- this . pluginhttpValidated = this . httpValidate ( ) ;
106+ // FIXME: Rename pluginhttpValidated to validated so that we can use internal serverless libraries
107+ this . validated = this . pluginhttpValidated = this . httpValidate ( ) ;
107108
108109 if ( this . pluginhttpValidated . events . length === 0 ) {
109110 return BbPromise . resolve ( ) ;
You can’t perform that action at this time.
0 commit comments