Fix adapter typo.

This commit is contained in:
Dillon Kearns 2021-12-29 13:28:14 -08:00
parent c7ce19d14b
commit 13dca344c9

View File

@ -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,