mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 05:47:02 +00:00
remove authorship piece from this PR
This commit is contained in:
1 parent
f9711de634
commit
2e305d5636
1 file changed
-3
@@ -43,9 +43,6 @@ const getBrew = (accessType, fetchGoogle = true)=>{
|
||||
}
|
||||
});
|
||||
stub = stub?.toObject();
|
||||
if(stub?.authors && !stub?.authors.includes(req.account.username)) {
|
||||
throw 'Current logged in user does not have access to this brew.';
|
||||
}
|
||||
|
||||
// If there is a google id, try to find the google brew
|
||||
if(fetchGoogle && (googleId || stub?.googleId)) {
|
||||
|
||||
Reference in new issue
Block a user