more heroku debug
This commit is contained in:
1 parent
00cfd427b1
commit
dfca664f6e
1 file changed
-4
@@ -82,10 +82,6 @@ const api = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!username || !id) {
|
|
||||||
return userThemes;
|
|
||||||
}
|
|
||||||
|
|
||||||
const brews = await HomebrewModel.getByUser(username, true, fields, { tags: { $in: ['theme', 'Theme', 'type:theme', 'type:Theme'] }, editId: { $ne: id } }) //lean() converts results to JSObjects
|
const brews = await HomebrewModel.getByUser(username, true, fields, { tags: { $in: ['theme', 'Theme', 'type:theme', 'type:Theme'] }, editId: { $ne: id } }) //lean() converts results to JSObjects
|
||||||
.catch((error)=>{throw 'Can not find brews';});
|
.catch((error)=>{throw 'Can not find brews';});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user