We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd8990 commit 1a53027Copy full SHA for 1a53027
src/serverless.js
@@ -124,8 +124,10 @@ class ServerlessComponent extends Component {
124
return {}
125
}
126
const apigw = new MultiApigw(credentials, regionList)
127
+ const oldState = this.state[regionList[0]] || {}
128
inputs.oldState = {
- apiList: (this.state[regionList[0]] && this.state[regionList[0]].apiList) || []
129
+ apiList: oldState.apiList || [],
130
+ customDomains: oldState.customDomains || []
131
132
const apigwOutputs = await apigw.deploy(inputs)
133
const outputs = {}
0 commit comments