more cleanup from ugly merge

This commit is contained in:
smilerz
2021-03-19 13:17:10 -05:00
parent 90670613c5
commit 7c8d41753c
7 changed files with 35 additions and 71 deletions

View File

@@ -152,7 +152,7 @@
this.error = undefined
this.parsed = true
this.loading = true
this.$http.post("{% url 'api_recipe_from_html' %}", {'html_text': this.html_recipe}, {emulateJSON: true}).then((response) => {
this.$http.post("{% url 'api_manual_recipe_from_json' %}", {'html_text': this.html_recipe}, {emulateJSON: true}).then((response) => {
console.log(response.data)
this.recipe_data = response.data['recipe_data'];
this.recipe_tree = response.data['recipe_tree'];