Feat/controllers - refactor entire backend and new admin interface #75
@@ -25,6 +25,11 @@ const addWine = async wine => {
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
addWine
|
||||
const allWines = () => {
|
||||
return Wine.find();
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
addWine,
|
||||
allWines
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user