Uniqueness check
Full path to the JavaScript file
src/controllers/search.js
Function(s)/scope targeted
searchController.search
Relevant Qlty output
Complex binary expression
36 let allowed = (req.query.in === 'users' && userPrivileges['search:users']) ||
Complex binary expression
37 (req.query.in === 'tags' && userPrivileges['search:tags']) ||
Uniqueness check
Full path to the JavaScript file
src/controllers/search.js
Function(s)/scope targeted
searchController.search
Relevant Qlty output
Complex binary expression 36 let allowed = (req.query.in === 'users' && userPrivileges['search:users']) || Complex binary expression 37 (req.query.in === 'tags' && userPrivileges['search:tags']) ||