mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-05 21:02:43 +00:00
more heroku debug
This commit is contained in:
@@ -72,7 +72,8 @@ const api = {
|
|||||||
'tags',
|
'tags',
|
||||||
'editId',
|
'editId',
|
||||||
'thumbnail',
|
'thumbnail',
|
||||||
'textBin'
|
'textBin',
|
||||||
|
'text'
|
||||||
];
|
];
|
||||||
|
|
||||||
const userThemes = {
|
const userThemes = {
|
||||||
@@ -86,7 +87,7 @@ const api = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log(`Looking for Theme Brews for ${username} that aren't ${id}`);
|
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';});
|
.catch((error)=>{throw 'Can not find brews';});
|
||||||
console.log(brews);
|
console.log(brews);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user