added role checking #412
Annotations
10 errors
src/services/auth/auth-models.ts#L10
Insert `⏎`
|
src/services/auth/auth-utils.ts#L60
Insert `⏎`
|
src/services/events/events-router.ts#L8
'isUser' is defined but never used
|
src/services/events/events-router.ts#L13
Replace `"/currentOrNext",·RoleChecker([],·true),` with `⏎····"/currentOrNext",⏎····RoleChecker([],·true),⏎···`
|
src/services/events/events-router.ts#L14
Insert `····`
|
src/services/events/events-router.ts#L15
Replace `····` with `········`
|
src/services/events/events-router.ts#L17
Replace `····const·isUser·=·!(isStaff(payload)·||·isAdmin(payload))` with `········const·isUser·=·!(isStaff(payload)·||·isAdmin(payload));`
|
src/services/events/events-router.ts#L19
Insert `····`
|
src/services/events/events-router.ts#L20
Insert `····`
|
src/services/events/events-router.ts#L21
Replace `············` with `················`
|
This job failed
Loading