diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d546a954..e72435676 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ [#1105](https://github.com/nextcloud/cookbook/pull/1105) @MarcelRobitaille - Fix typos and styling issues [#1112](https://github.com/nextcloud/cookbook/pull/1112) @christianlupus +- Fix API endpoint used for updating recipes + [#1119](https://github.com/nextcloud/cookbook/pull/1119) @MarcelRobitaille ### Maintenance - Add composer.json to version control to have unique installed dependency versions diff --git a/src/components/RecipeEdit.vue b/src/components/RecipeEdit.vue index 51ff91c3f..4b9f62e15 100644 --- a/src/components/RecipeEdit.vue +++ b/src/components/RecipeEdit.vue @@ -605,7 +605,7 @@ export default { const $this = this const request = (() => { - if (this.recipe_id) { + if (this.$route.params.id ?? false) { return this.$store.dispatch("updateRecipe", { recipe: this.recipeWithCorrectedYield, })