Skip to content

Commit

Permalink
Fix reference to fileUploader
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobLey committed Jan 16, 2020
1 parent 64b0145 commit d07c8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class OpenApiValidator {
app: Application | Router,
context: OpenApiContext,
): void {
app.use(middlewares.multipart(context, this.options.multerOpts));
app.use(middlewares.multipart(context, this.options.fileUploader));
}

private installSecurityMiddleware(
Expand Down

0 comments on commit d07c8de

Please sign in to comment.