From 398b85363fa38c21e3f95bde34a27d9bffb2be70 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 17 Jan 2022 21:19:46 +0100 Subject: [PATCH] Update the request params (now using snake_case). --- assets/js/http/calendar_http_client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/http/calendar_http_client.js b/assets/js/http/calendar_http_client.js index 1db211e3..a1e98a22 100755 --- a/assets/js/http/calendar_http_client.js +++ b/assets/js/http/calendar_http_client.js @@ -222,8 +222,8 @@ App.Http.Calendar = (function () { const data = { csrf_token: App.Vars.csrf_token, - startDate: moment(startDate).format('YYYY-MM-DD'), - endDate: moment(endDate).format('YYYY-MM-DD') + start_date: moment(startDate).format('YYYY-MM-DD'), + end_date: moment(endDate).format('YYYY-MM-DD') }; return $.post(url, data);