Closed chrismytton closed 9 years ago
Because the UI is now using these modules it processes the request before it gets to the API, which seems to confuse the old bodyParser middleware and throws an error.
The simple solution is to switch the API to use the same modules as the UI.
Fixes https://github.com/mysociety/popit/issues/718
This looks fine to me.
Because the UI is now using these modules it processes the request before it gets to the API, which seems to confuse the old bodyParser middleware and throws an error.
The simple solution is to switch the API to use the same modules as the UI.
Fixes https://github.com/mysociety/popit/issues/718