Skip to content

Commit eadb4ff

Browse files
v1rtlclaude
andcommitted
style: format with biome
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8978ae9 commit eadb4ff

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,7 @@ const json = ({
7171
}: ParserOptions<{
7272
reviver?: (this: any, key: string, value: any) => any
7373
}> = {}) => {
74-
const parse = p(
75-
(x) => (x.length === 0 ? {} : JSON.parse(x.toString(), reviver)),
76-
payloadLimit,
77-
payloadLimitErrorFn
78-
)
74+
const parse = p((x) => (x.length === 0 ? {} : JSON.parse(x.toString(), reviver)), payloadLimit, payloadLimitErrorFn)
7975
return async (req: ReqWithBody, res: Response, next?: NextFunction) => {
8076
if (hasBody(req.method!) && checkType(req, type)) {
8177
req.body = await parse(req, res, next)

0 commit comments

Comments
 (0)