0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

more heroku debug

This commit is contained in:
David Bolack
2024-03-06 13:53:54 -06:00
parent 00cfd427b1
commit dfca664f6e

View File

@@ -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
.catch((error)=>{throw 'Can not find brews';});