weareopensource/Node

View on GitHub

Showing 4 of 84 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

app
.route('/api/uploads/:uploadName')
.all(passport.authenticate('jwt', { session: false }), policy.isAllowed)
.get(uploads.get)
.delete(policy.isOwner, uploads.remove); // delete
Severity: Minor
Found in modules/uploads/routes/uploads.routes.js and 1 other location - About 55 mins to fix
modules/users/routes/users.routes.js on lines 42..46

Similar blocks of code found in 2 locations. Consider refactoring.
Open

app
.route('/api/uploads/images/:imageName')
.all(passport.authenticate('jwt', { session: false }), policy.isAllowed)
.get(uploads.getSharp);
Severity: Minor
Found in modules/uploads/routes/uploads.routes.js and 1 other location - About 45 mins to fix
modules/users/routes/users.routes.js on lines 48..51

TODO found
Open

- **tasks:** quick fix TODO 🐛 ([8cf75ab](https://github.com/weareopensource/Node/commit/8cf75ab))
Severity: Minor
Found in CHANGELOG.md by fixme

TODO found
Open

- **tasks:** quick fix TODO 🐛 ([8cf75ab](https://github.com/weareopensource/Node/commit/8cf75ab75a81d0bfac48000e021e189897eda055))
Severity: Minor
Found in CHANGELOG.md by fixme
Severity
Category
Status
Source
Language