From 2df61f6fc7d5d6662527ec5c92acbf103eb9a890 Mon Sep 17 00:00:00 2001 From: titanism <101466223+titanism@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:03:05 -0500 Subject: [PATCH] fix: fixed linting --- src/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index 00c9528..4504b71 100644 --- a/src/index.js +++ b/src/index.js @@ -393,8 +393,8 @@ const parseRequest = (config = {}) => { typeof parsedUser.toJSON === 'function' ? parsedUser.toJSON() : typeof parsedUser.toObject === 'function' - ? parsedUser.toObject() - : clone(parsedUser); + ? parsedUser.toObject() + : clone(parsedUser); } catch (err) { debug(err); try { @@ -419,8 +419,8 @@ const parseRequest = (config = {}) => { const originalBody = ctx ? ctx.request._originalBody || ctx.request.body : req - ? req._originalBody || req.body - : null; + ? req._originalBody || req.body + : null; if (originalBody && parseBody && !nodeReq[disableBodyParsingSymbol]) { //