Skip to content

Commit

Permalink
remove redundant query check
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Dec 29, 2019
1 parent 0547ab0 commit f284481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewares/parsers/req.parameter.mutator.ts
Expand Up @@ -70,7 +70,7 @@ export class RequestParameterMutator {
this.parseJsonAndMutateRequest(req, parameter.in, name);
if (style === 'form' && explode) {
this.handleFormExplode(req, name, <SchemaObject>schema, parameter);
} else if (parameter.in === 'query' && style === 'deepObject') {
} else if (style === 'deepObject') {
this.handleDeepObject(req, queryString, name);
}
} else if (type === 'array' && !explode) {
Expand Down

0 comments on commit f284481

Please sign in to comment.