|
const useRegistry = req.query === 'true' |
This file has one instance of
const useRegistry = req.query.registry === 'true' and one instance of
const useRegistry = req.query === 'true' but req.query won't be a string in Express. Thus, the validations don't correctly correspond to whether the request had registry=true.
cve-services/src/controller/org.controller/org.middleware.js
Line 191 in 0e528de
This file has one instance of
const useRegistry = req.query.registry === 'true'and one instance ofconst useRegistry = req.query === 'true'but req.query won't be a string in Express. Thus, the validations don't correctly correspond to whether the request had registry=true.