From dd3697c018664d49125067d6c71b3ecd8ef2c8ad Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 7 Feb 2023 09:29:12 +0100 Subject: [PATCH] Change null default value with undefined --- assets/js/pages/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/pages/services.js b/assets/js/pages/services.js index 265c60af..cc8f97e1 100644 --- a/assets/js/pages/services.js +++ b/assets/js/pages/services.js @@ -141,7 +141,7 @@ App.Pages.Services = (function () { availabilities_type: $availabilitiesType.val(), attendants_number: $attendantsNumber.val(), is_private: Number($isPrivate.prop('checked')), - id_categories: $category.val() || null + id_categories: $category.val() || undefined }; if ($id.val() !== '') {