Skip to content

Commit

Permalink
fix: fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Jun 25, 2024
1 parent ca93725 commit 2df61f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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]) {
//
Expand Down

0 comments on commit 2df61f6

Please sign in to comment.