andreweinkoetz / foodo-backend

The backend repository for the food taxonomy project 'foodo'. This is a project of five TUM students of the course: Future Business Labs (IN2106, IN2128, IN212807)
5 stars 0 forks source link

Substituting and Reverting #31

Closed andreweinkoetz closed 5 years ago

andreweinkoetz commented 5 years ago

/user/recipes/substitute PUT: { substituteId: INGREDIENT_ID, originalId: INGREDIENT_ID, amount: AMOUNT_OF_SUBSTITUTE, _id: USERRECIPE_ID }

/user/recipes/substitute DELETE: { historyId: ID_OF_NEW_HISTORY, _id: USERRECIPE_ID }

andreweinkoetz commented 5 years ago

Commit dd705ea in branch