fix an issue with marking list items as received

This commit is contained in:
Brian McGonagill 2025-09-12 15:41:55 -05:00
parent 047befcae9
commit 76d3591d51
9 changed files with 118 additions and 47 deletions

View file

@ -52,6 +52,7 @@ Meteor.methods({
throw new Meteor.Error('You are not allowed to add menu and product links. Make sure you are logged in with valid user credentials.');
};
console.log(" ---- Doing an Update instead! ---- ");
return await MenuProdLinks.updateAsync({ menuItemId: menuItemId }, {
$set: {
products: prodNameArray,