fix params
All checks were successful
Build Docker / deploy (push) Successful in 51s
Build Docker / build (push) Successful in 42s

This commit is contained in:
2026-05-10 18:07:50 +03:00
parent 47a4a32fd8
commit a6f82eadae

View File

@@ -24,10 +24,10 @@ document.addEventListener("DOMContentLoaded", () => {
surname: document.getElementById('flname').value || "", surname: document.getElementById('flname').value || "",
text_field: document.getElementById('text_field')?.value || "Пожеланий Нет", text_field: document.getElementById('text_field')?.value || "Пожеланий Нет",
activated: true, activated: true,
types_of_food: document.querySelector('input[name="food"]:checked')?.value, types_of_food: document.querySelector('input[name="food"]:checked')?.value || "Мясо (Дефолт)",
types_of_alco: Array.from(document.querySelectorAll('input[name="drink"]:checked')) types_of_alco: Array.from(document.querySelectorAll('input[name="drink"]:checked'))
.map(el => el.value) .map(el => el.value)
.join(', ') .join(', ') || "Сок"
}; };
try { try {