0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

update location of tags type rewrite

This commit is contained in:
Charlie Humphreys
2022-08-05 15:37:22 -05:00
parent c7cfa86205
commit ae9eef4fba
2 changed files with 4 additions and 4 deletions

View File

@@ -56,6 +56,9 @@ const getBrew = (accessType)=>{
throw 'Brew not found in Homebrewery database or Google Drive';
}
if(typeof stub.tags === 'string') {
stub.tags = [];
}
req.brew = stub;
next();