Skip to content

get associated by 'session' #69

get associated by 'session'

get associated by 'session' #69

Triggered via pull request January 9, 2025 03:10
Status Failure
Total duration 32s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 13 warnings
format
Process completed with exit code 1.
lint: src/Controllers/membershipController.js#L10
'jwt' is assigned a value but never used
lint: src/Controllers/membershipController.js#L11
'SECRET' is assigned a value but never used
lint: src/Middlewares/accessControlMiddleware.js#L5
'action' is defined but never used
lint: src/Middlewares/accessControlMiddleware.js#L8
Replace `········userId·=·await·token.getLoggedUserId(req,res);·` with `············userId·=·await·token.getLoggedUserId(req,·res);`
lint: src/Middlewares/accessControlMiddleware.js#L9
Replace `········⏎` with `⏎····`
lint: src/Middlewares/accessControlMiddleware.js#L12
Insert `····`
lint: src/Middlewares/accessControlMiddleware.js#L13
Replace `············` with `················`
lint: src/Middlewares/accessControlMiddleware.js#L14
Insert `····`
lint: src/Middlewares/accessControlMiddleware.js#L16
Replace `········const·role·=·await·Role.findOne({·name:·user.role.name·}).populate("permissions");` with `············const·role·=·await·Role.findOne({·name:·user.role.name·}).populate(⏎················"permissions"`
test
Process completed with exit code 1.
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: src/Controllers/membershipController.js#L41
Unexpected console statement
lint: src/Controllers/membershipController.js#L69
Unexpected console statement
lint: src/Controllers/membershipController.js#L84
Unexpected console statement
lint: src/Controllers/membershipController.js#L94
Unexpected console statement
lint: src/Controllers/membershipController.js#L113
Unexpected console statement
lint: src/Controllers/organController.js#L24
Unexpected console statement
lint: src/Controllers/organController.js#L40
Unexpected console statement
lint: src/Controllers/organController.js#L42
Unexpected console statement
lint: src/Controllers/organController.js#L48
Unexpected console statement
lint: src/Controllers/organController.js#L62
Unexpected console statement
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636