Skip to content

Commit

Permalink
fix(eslint): fix typo in is authenticated middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandryackovlev committed Jun 12, 2021
1 parent 8291203 commit fb06b82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/middleware/isAuthenticated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ const isAuthorized = (
return next();
}

const securityRequirements: OpenAPIV3.SecurityRequirementObject[] = res.locals.operation.getSecurityRequirements();
const securityRequirements: OpenAPIV3.SecurityRequirementObject[] =
res.locals.operation.getSecurityRequirements();
const { securitySchemes } = res.locals.operation;

if (
Expand Down

0 comments on commit fb06b82

Please sign in to comment.