0
0
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:
Charlie Humphreys
2023-01-05 22:56:54 -06:00
parent e47f81698c
commit 387c468d84
2 changed files with 246 additions and 18 deletions

View File

@@ -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) {