mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-18 10:02:49 +00:00
more heroku debug
This commit is contained in:
@@ -86,9 +86,10 @@ const api = {
|
|||||||
return userThemes;
|
return userThemes;
|
||||||
}
|
}
|
||||||
|
|
||||||
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', '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';});
|
||||||
|
|
||||||
|
console.log(brews);
|
||||||
for await (const brew of brews) {
|
for await (const brew of brews) {
|
||||||
const foo = api.getBrew('themes', req=req, res=res, next=next);
|
const foo = api.getBrew('themes', req=req, res=res, next=next);
|
||||||
const brewTheme = req.brew;
|
const brewTheme = req.brew;
|
||||||
|
|||||||
Reference in New Issue
Block a user