diff --git a/sample/notify.js b/sample/notify.js index 8eb4c7ef..f8fe0a7b 100644 --- a/sample/notify.js +++ b/sample/notify.js @@ -980,6 +980,8 @@ function aibotkNotify(text, desp) { resolve(data); } }); + } else { + resolve(); } }); }