Removed unsused

master
Mark Moffat 2019-12-07 10:10:32 +10:30
parent 57eebc351e
commit bc02499bda
1 changed files with 3 additions and 3 deletions

View File

@ -357,7 +357,7 @@ const getMenu = (db) => {
};
// creates a new menu item
const newMenu = (req, res) => {
const newMenu = (req) => {
const db = req.app.db;
return getMenu(db)
.then((menu) => {
@ -385,7 +385,7 @@ const newMenu = (req, res) => {
};
// delete a menu item
const deleteMenu = (req, res, menuIndex) => {
const deleteMenu = (req, menuIndex) => {
const db = req.app.db;
return getMenu(db)
.then((menu) => {
@ -402,7 +402,7 @@ const deleteMenu = (req, res, menuIndex) => {
};
// updates and existing menu item
const updateMenu = (req, res) => {
const updateMenu = (req) => {
const db = req.app.db;
return getMenu(db)
.then((menu) => {