forked from mirrors/easyappointments
Update the request params (now using snake_case).
This commit is contained in:
parent
777d15423c
commit
398b85363f
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue