Closed LaurenceMommers closed 4 years ago
This fixes an issue where the function passed to router.post is no longer aware of the this context. and this inside the requestHandler function will be undefined.
router.post
this
requestHandler
Indirectly related to this: https://stackoverflow.com/questions/34680450/this-is-undefined-in-expressjs-route-handler.
This fixes an issue where the function passed to
router.post
is no longer aware of thethis
context. andthis
inside therequestHandler
function will be undefined.Indirectly related to this: https://stackoverflow.com/questions/34680450/this-is-undefined-in-expressjs-route-handler.