Skip to content

Commit 3e2751f

Browse files
committed
Remove redundant return undefined from getLocation
1 parent 3fe50cc commit 3e2751f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

express-zod-api/src/documentation-helpers.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ export const depictRequestParams = ({
309309
)
310310
return "header";
311311
if (isQueryEnabled) return "query";
312-
return undefined;
313312
};
314313

315314
return Object.entries(flat.properties).reduce<ParameterObject[]>(

0 commit comments

Comments
 (0)