Skip to content

Commit

Permalink
style(@nestjs/swagger): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
botflux committed Jun 30, 2023
1 parent 9117bf6 commit ab23696
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions lib/swagger-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class SwaggerModule {
document = lazyBuildDocument();

if (options.swaggerOptions.patchDocument) {
document = options.swaggerOptions.patchDocument(req, res, document)
document = options.swaggerOptions.patchDocument(req, res, document);
}
}

Expand Down Expand Up @@ -132,7 +132,11 @@ export class SwaggerModule {
document = lazyBuildDocument();

if (options.swaggerOptions.patchDocument) {
document = options.swaggerOptions.patchDocument(req, res, document);
document = options.swaggerOptions.patchDocument(
req,
res,
document
);
}
}

Expand Down Expand Up @@ -160,7 +164,7 @@ export class SwaggerModule {
document = lazyBuildDocument();

if (options.swaggerOptions.patchDocument) {
document = options.swaggerOptions.patchDocument(req, res, document)
document = options.swaggerOptions.patchDocument(req, res, document);
}
}

Expand Down Expand Up @@ -217,7 +221,7 @@ export class SwaggerModule {
document = lazyBuildDocument();

if (options.swaggerOptions.patchDocument) {
document = options.swaggerOptions.patchDocument(req, res, document)
document = options.swaggerOptions.patchDocument(req, res, document);
}
}

Expand All @@ -235,7 +239,7 @@ export class SwaggerModule {
document = lazyBuildDocument();

if (options.swaggerOptions.patchDocument) {
document = options.swaggerOptions.patchDocument(req, res, document)
document = options.swaggerOptions.patchDocument(req, res, document);
}
}

Expand Down

0 comments on commit ab23696

Please sign in to comment.