Skip to content

Commit 347a2b1

Browse files
committed
fix(apigw): unknow error catch
1 parent a5de255 commit 347a2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/apigw/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ class Apigw {
566566
const apiList = [];
567567
const stateApiList = oldState.apiList || [];
568568

569-
const { endpoints } = inputs;
569+
const endpoints = inputs.endpoints || [];
570570
for (let i = 0, len = endpoints.length; i < len; i++) {
571571
const endpoint = endpoints[i];
572572
// if exist in state list, set created to be true

0 commit comments

Comments
 (0)