Skip to content

Commit

Permalink
improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Oct 2, 2024
1 parent 7cff78d commit 5bad5ae
Show file tree
Hide file tree
Showing 2 changed files with 395 additions and 365 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ const multipart =
req.body = await p((x) => {
const boundary = getBoundary(req.headers['content-type']!)
if (boundary) return parseMultipart(x, boundary, opts)
return {}
}, payloadLimit, payloadLimitErrorFn)(req, res, next)
next()
} else next()
Expand Down
Loading

0 comments on commit 5bad5ae

Please sign in to comment.