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 d6d4c0f commit 8d6de6fCopy full SHA for 8d6de6f
src/serverless.js
@@ -105,8 +105,10 @@ class ServerlessComponent extends Component {
105
return {}
106
}
107
const apigw = new MultiApigw(credentials, regionList)
108
+ const oldState = this.state[regionList[0]] || {}
109
inputs.oldState = {
- apiList: (this.state[regionList[0]] && this.state[regionList[0]].apiList) || []
110
+ apiList: oldState.apiList || [],
111
+ customDomains: oldState.customDomains || []
112
113
const apigwOutputs = await apigw.deploy(inputs)
114
const outputs = {}
0 commit comments