remove console
This commit is contained in:
1 parent
05add10ba8
commit
c8685c4273
1 file changed
-1
@@ -6,7 +6,6 @@ const SERVICE_NAME = "verifyOwnership";
|
|||||||
const verifyOwnership = (Model, paramName) => {
|
const verifyOwnership = (Model, paramName) => {
|
||||||
const stringService = ServiceRegistry.get(StringService.SERVICE_NAME);
|
const stringService = ServiceRegistry.get(StringService.SERVICE_NAME);
|
||||||
return async (req, res, next) => {
|
return async (req, res, next) => {
|
||||||
console.log(req.params);
|
|
||||||
const userId = req.user._id;
|
const userId = req.user._id;
|
||||||
const documentId = req.params[paramName];
|
const documentId = req.params[paramName];
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user