mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-25 04:43:03 +03:00
Fix adapter typo.
This commit is contained in:
parent
c7ce19d14b
commit
13dca344c9
@ -237,7 +237,7 @@ function reqToJson(req, requestTime) {
|
||||
function toJsonHelper(req, requestTime, multiPartFormData) {
|
||||
let jsonBody = null;
|
||||
try {
|
||||
jsonBody = req.body && JSON.parse(body);
|
||||
jsonBody = req.body && JSON.parse(req.body);
|
||||
} catch (jsonParseError) {}
|
||||
return {
|
||||
method: req.httpMethod,
|
||||
|
Loading…
Reference in New Issue
Block a user