mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-13 04:22:40 +00:00
Fixed issue with arrays not being saved
This commit is contained in:
@@ -65,6 +65,9 @@ const BrewData = {
|
||||
delete newBrew.shareId;
|
||||
delete newBrew.editId;
|
||||
brew = _.merge(brew, newBrew, { updatedAt : Date.now() });
|
||||
|
||||
brew.markModified('authors');
|
||||
brew.markModified('systems');
|
||||
return brew.save();
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user