Commit 5fd7d955 authored by ibooking-sigurd's avatar ibooking-sigurd
Browse files

Fix small bug in diet.js (add "let" in "for-of-loop").

parent a5203e40
......@@ -152,7 +152,7 @@ async function retrieveDiet(id) {
// adding mealtype instances
let mealtypeInstances = [];
let mealtypeInstancesTypes = formData.getAll("type");
for (value of mealtypeInstancesTypes) {
for (let value of mealtypeInstancesTypes) {
mealtype: `${HOST}/api/mealtypes/${value}/`,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment