Circuits...
Circuits Fido e Max Qta Fixed error eslint: 7.0.0 is OK
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var mongoose = require('mongoose').set('debug', false)
|
||||
var mongoose = require('mongoose').set('debug', process.env.DEBUG)
|
||||
|
||||
const _ = require('lodash');
|
||||
|
||||
@@ -373,7 +373,7 @@ ProjectSchema.statics.enabletoModify = async function (userId, idProj) {
|
||||
|
||||
let obj = [];
|
||||
|
||||
return Project.findOne({
|
||||
return await Project.findOne({
|
||||
'_id': idProj,
|
||||
$or: [{
|
||||
privacywrite: { $ne: server_constants.Privacy.onlyme },
|
||||
|
||||
Reference in New Issue
Block a user