You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
While working with the cms locally, using useLocalStudio = true, evaluateTrigger doesn't exactly behave the way it should. In the case where no trigger was matched, the promise is rejected (which it should resolve to mimic the functionality of CMS run as remote API service)
When run as an API service, evaluateTrigger always resolves, even when there was no match. This in turn affects the Promise object returned by runTrigger
While working with the cms locally, using
useLocalStudio = true
,evaluateTrigger
doesn't exactly behave the way it should. In the case where no trigger was matched, the promise is rejected (which it should resolve to mimic the functionality of CMS run as remote API service)botkit-cms/src/api.js
Line 252 in a98c9b8
When run as an API service,
evaluateTrigger
always resolves, even when there was no match. This in turn affects the Promise object returned byrunTrigger
Also have a look at howdyai/botkit@ef69730
The text was updated successfully, but these errors were encountered: