- Cataloghi aggiornamento...
This commit is contained in:
@@ -166,7 +166,7 @@ MyPageSchema.statics.findAllIdApp = async function (idapp) {
|
||||
|
||||
return await MyPage.find(myfind, (err, arrrec) => {
|
||||
return arrrec
|
||||
});
|
||||
}).sort({ title: 1 }).lean();
|
||||
};
|
||||
|
||||
MyPageSchema.statics.findOnlyStruttRec = async function (idapp) {
|
||||
@@ -229,7 +229,7 @@ MyPageSchema.statics.findInternalPages = async function (idapp) {
|
||||
only_residenti: 1,
|
||||
}, (err, arrrec) => {
|
||||
return arrrec
|
||||
});
|
||||
}).lean();
|
||||
};
|
||||
|
||||
const MyPage = mongoose.model('MyPage', MyPageSchema);
|
||||
|
||||
Reference in New Issue
Block a user