mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 12:17:07 +00:00
more heroku debug
This commit is contained in:
1 parent
ac4c84e7a4
commit
695324832c
1 file changed
+3
-1
@@ -103,7 +103,8 @@ const api = {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
console.log('We found themes!');
|
||||||
|
console.log(userThemes);
|
||||||
return userThemes;
|
return userThemes;
|
||||||
},
|
},
|
||||||
getBrew : (accessType, stubOnly = false)=>{
|
getBrew : (accessType, stubOnly = false)=>{
|
||||||
@@ -163,6 +164,7 @@ const api = {
|
|||||||
|
|
||||||
// Clean up brew: fill in missing fields with defaults / fix old invalid values
|
// Clean up brew: fill in missing fields with defaults / fix old invalid values
|
||||||
const userThemes = accessType != 'themes' ? await api.getUsersBrewThemes(userID, id, req, res, next) : '';
|
const userThemes = accessType != 'themes' ? await api.getUsersBrewThemes(userID, id, req, res, next) : '';
|
||||||
|
console('Made it past userThemes');
|
||||||
if(stub) {
|
if(stub) {
|
||||||
stub.tags = stub.tags || undefined; // Clear empty strings
|
stub.tags = stub.tags || undefined; // Clear empty strings
|
||||||
stub.renderer = stub.renderer || undefined; // Clear empty strings
|
stub.renderer = stub.renderer || undefined; // Clear empty strings
|
||||||
|
|||||||
Reference in new issue
Block a user