node implementation not working
bobrundle opened this issue · 2 comments
bobrundle commented
The node implementation in the without hooks code set is not working.
To get it working the following needs to be added near the top of server.js
var bodyParser = require('body-parser');
app.use(bodyParser.json());
mshafrir-stripe commented
@bobrundle thanks for flagging!
adreyfus-stripe commented
@bobrundle We're using express's built in middleware so it should already work with this line:
app.use(express.json());
However, that line was missing before I merged this commit a couple days ago so depending on when you pulled it may have been missing! Closing this issue for now but let me know if that doesn't resolve it. Thanks for reporting