update location of tags type rewrite
This commit is contained in:
1 parent
c7cfa86205
commit
ae9eef4fba
2 files changed
+4
-4
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user