From a139335a4c517121da57ae0e59568750c9775c7e Mon Sep 17 00:00:00 2001 From: Brian McGonagill Date: Sun, 18 Aug 2024 08:51:31 -0500 Subject: [PATCH] update menu items method --- imports/api/menuItems.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/imports/api/menuItems.js b/imports/api/menuItems.js index a58c58f..eca07b0 100644 --- a/imports/api/menuItems.js +++ b/imports/api/menuItems.js @@ -19,8 +19,6 @@ Meteor.methods({ throw new Meteor.Error('You are not allowed to add items. Make sure you are logged in with valid user credentials.'); } - serveDateActual = new Date(serveDate); - return MenuItems.insert({ itemName: itemName, addedBy: this.userId,