mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-28 15:42:38 +00:00
more heroku debug
This commit is contained in:
@@ -85,8 +85,10 @@ const api = {
|
||||
return userThemes;
|
||||
}
|
||||
|
||||
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
|
||||
.catch((error)=>{throw 'Can not find brews';});
|
||||
console.log(brews);
|
||||
|
||||
for await (const brew of brews) {
|
||||
api.getBrew('themes', req=req, res=res, next=next);
|
||||
|
||||
Reference in New Issue
Block a user