fixed double json extension while downloading error file

This commit is contained in:
Krehan Tim 2018-11-14 16:28:05 +01:00
parent 5f18b295a4
commit 5772c3f9f5

View file

@ -81,7 +81,7 @@ $(document).ready(function(){
} }
else{ else{
infoPopUp("Nicht alle Rezepte konnten Importiert werden!", 1000); infoPopUp("Nicht alle Rezepte konnten Importiert werden!", 1000);
downloadObjectAsJson(JSON.parse(data), "failed_recipe_import.json"); downloadObjectAsJson(JSON.parse(data), "failed_recipe_import");
} }
} }
); );