0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 13:22:40 +00:00

more heroku debug

This commit is contained in:
David Bolack
2024-03-06 12:56:33 -06:00
parent ac4c84e7a4
commit 695324832c

View File

@@ -103,7 +103,8 @@ const api = {
};
}
};
console.log('We found themes!');
console.log(userThemes);
return userThemes;
},
getBrew : (accessType, stubOnly = false)=>{
@@ -163,6 +164,7 @@ const api = {
// 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) : '';
console('Made it past userThemes');
if(stub) {
stub.tags = stub.tags || undefined; // Clear empty strings
stub.renderer = stub.renderer || undefined; // Clear empty strings