update location of tags type rewrite

This commit is contained in:
Charlie Humphreys committed 2022-08-05 15:37:22 -05:00
1 parent c7cfa86205
commit ae9eef4fba
2 files changed
+4 -4

No files matched your search

+3
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();