nearst / laconia

Create well-crafted serverless applications, effortlessly.
http://laconiajs.io
Apache License 2.0
326 stars 30 forks source link

add handling for undefined input body #818

Closed joeleg closed 2 years ago

joeleg commented 2 years ago

There's a small bug in the adapter-api and it fails when the request body is undefined (it tries to parse undefined)

I've added some tests and checks to handle request bodies that are undefined

ceilfors commented 2 years ago

@all-contributors please add @joeleg for code

allcontributors[bot] commented 2 years ago

@ceilfors

I've put up a pull request to add @joeleg! :tada:

ceilfors commented 2 years ago

@all-contributors please add @joeleg for bug

allcontributors[bot] commented 2 years ago

@ceilfors

I've put up a pull request to add @joeleg! :tada:

ceilfors commented 2 years ago

@joeleg Thanks a lot for your contribution! Your change is now published under version 1.13.1.