Skip to content

It is only triggering first time #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mymail4blogs opened this issue Mar 12, 2019 · 3 comments
Open

It is only triggering first time #7

mymail4blogs opened this issue Mar 12, 2019 · 3 comments

Comments

@mymail4blogs
Copy link

After that the lambda is not getting invoked in the update and insert

@sdebaun
Copy link

sdebaun commented Mar 15, 2019

hey @mymail4blogs - i just had this same symptom.

TL;DR: is your handler async? if not, try making it so.

Digging into the code, in src/executeFunctions ~L33 it is checking i the response is a promise. It doesn't run the callback its not a promise.

@emmkong
Copy link
Owner

emmkong commented Apr 29, 2019

@sdebaun I'm current busy with few other things, PR is welcome.

@kalitamih
Copy link

I use async in my tests, but I have similar issue. Could you provide me any ideas how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants