Initial role checking middleware #83
Annotations
10 errors
Run ESLint:
src/config.ts#L29
Insert `,`
|
Run ESLint:
src/middleware/role-checker.ts#L3
Replace `z` with `·z·`
|
Run ESLint:
src/middleware/role-checker.ts#L5
Replace `req:·Request,·res:·Response,·next:·NextFunction` with `⏎····req:·Request,⏎····res:·Response,⏎····next:·NextFunction⏎`
|
Run ESLint:
src/middleware/role-checker.ts#L9
Replace `requiredRoles:·z.infer<typeof·Role>[],·weakVerification:·boolean·=·false` with `⏎········requiredRoles:·z.infer<typeof·Role>[],⏎········weakVerification:·boolean·=·false⏎····`
|
Run ESLint:
src/middleware/role-checker.ts#L9
'weakVerification' is assigned a value but never used
|
|
|
|
|
|
Loading