mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-02 04:12:47 +00:00
add tests for deletion and address PR feedback
This commit is contained in:
@@ -304,7 +304,6 @@ If you believe you should have access to this brew, ask the file owner to invite
|
||||
if(account) {
|
||||
// Remove current user as author
|
||||
brew.authors = _.pull(brew.authors, account.username);
|
||||
brew.markModified('authors');
|
||||
}
|
||||
|
||||
if(brew.authors.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user