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:16:57 -06:00
parent 0580e45af9
commit 2aaae95e89

View File

@@ -72,7 +72,8 @@ const api = {
'tags',
'editId',
'thumbnail',
'textBin'
'textBin',
'text'
];
const userThemes = {
@@ -86,7 +87,7 @@ const api = {
}
console.log(`Looking for Theme Brews for ${username} that aren't ${id}`);
const brews = await HomebrewModel.getByUser(username, true, fields, { tags: { $in: ['theme', 'Theme'] }, editId: { $ne: id } }) //lean() converts results to JSObjects
const brews = await HomebrewModel.getByUser(username, true, fields, { tags: { $in: ['theme', 'Theme'] }}) //lean() converts results to JSObjects
.catch((error)=>{throw 'Can not find brews';});
console.log(brews);