serverless-plugin-offline-dynamodb-stream
serverless-plugin-offline-dynamodb-stream copied to clipboard
It is only triggering first time
After that the lambda is not getting invoked in the update and insert
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.
@sdebaun I'm current busy with few other things, PR is welcome.
I use async in my tests, but I have similar issue. Could you provide me any ideas how to fix this?