ashiina/lambda-local

Why is `event` property required in payload?

guanzo opened this issue · 0 comments

Trying to test my http lambda but seems like I have to send data with an event key? This data format isn't required by AWS afaik.

if(!payload.event) {
callback('Invalid body (Expected "event" property)');
}