mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
deploy endpoint: clean-up hack
This commit is contained in:
parent
c869a57000
commit
3477bc080e
@ -463,7 +463,13 @@ ApiDeployer.prototype._buildEndpoints = Promise.method(function() {
|
||||
.then(_this._createEndpointMethod)
|
||||
.then(_this._createEndpointIntegration)
|
||||
.then(_this._createEndpointMethodResponses)
|
||||
.then(_this._createEndpointMethodIntegResponses);
|
||||
.then(_this._createEndpointMethodIntegResponses)
|
||||
.then(function() {
|
||||
|
||||
// Clean-up hack
|
||||
// TODO figure out how "apig" temp property is being written to the awsm's json and remove that
|
||||
if (endpoint.apiGateway.apig) delete endpoint.apiGateway.apig;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user