|
@@ -19,6 +19,7 @@ module.exports = function(app){
|
|
|
app.delete("/merchant/recipes/remove/:id", merchantData.removeRecipe);
|
|
app.delete("/merchant/recipes/remove/:id", merchantData.removeRecipe);
|
|
|
app.post("/merchant/ingredients/add", merchantData.addMerchantIngredient);
|
|
app.post("/merchant/ingredients/add", merchantData.addMerchantIngredient);
|
|
|
app.delete("/merchant/ingredients/remove/:id", merchantData.removeMerchantIngredient);
|
|
app.delete("/merchant/ingredients/remove/:id", merchantData.removeMerchantIngredient);
|
|
|
|
|
+ app.put("/merchant/ingredients/update/:id/:unit", merchantData.ingredientDefaultUnit);
|
|
|
app.put("/merchant/ingredients/update", merchantData.updateMerchantIngredient);
|
|
app.put("/merchant/ingredients/update", merchantData.updateMerchantIngredient);
|
|
|
app.post("/merchant/password", merchantData.updatePassword);
|
|
app.post("/merchant/password", merchantData.updatePassword);
|
|
|
|
|
|