exports.getAllSauces = (req, res, next) => { Sauce.find() .then((sauces) => res.status(200).json(sauces)) .catch((error) => res.status(400).json({ error })); };
exports.getAllSauces = (req, res, next) => { Sauce.find() .then((sauces) => res.status(200).json(sauces)) .catch((error) => res.status(400).json({ error })); };