Celtech/shout-it

View on GitHub
packages/api/src/app.hooks.js

Summary

Maintainability
A
1 hr
Test Coverage

Showing 3 of 3 total issues

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

before: {
all: [],
find: [],
get: [],
create: [],
Severity: Major
Found in packages/api/src/app.hooks.js and 3 other locations - About 40 mins to fix
packages/api/src/app.hooks.js on lines 14..22
packages/api/src/app.hooks.js on lines 24..32
packages/api/src/services/users/users.hooks.js on lines 31..39

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

error: {
all: [],
find: [],
get: [],
create: [],
Severity: Major
Found in packages/api/src/app.hooks.js and 3 other locations - About 40 mins to fix
packages/api/src/app.hooks.js on lines 4..12
packages/api/src/app.hooks.js on lines 14..22
packages/api/src/services/users/users.hooks.js on lines 31..39

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

after: {
all: [],
find: [],
get: [],
create: [],
Severity: Major
Found in packages/api/src/app.hooks.js and 3 other locations - About 40 mins to fix
packages/api/src/app.hooks.js on lines 4..12
packages/api/src/app.hooks.js on lines 24..32
packages/api/src/services/users/users.hooks.js on lines 31..39
Category
Status