Merge pull request #11970 from MrPetovan/bug/marcor-newapi

Fix parameter names before being passed to Model\Event::store
This commit is contained in:
Michael Vogel 2022-10-07 23:32:21 +02:00 committed by GitHub
commit 49c5d62530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,8 +88,8 @@ class Create extends BaseApi
$event['summary'] = $request['name'];
$event['desc'] = $request['desc'];
$event['location'] = $request['place'];
$event['start_time'] = $start;
$event['end_time'] = $finish;
$event['start'] = $start;
$event['finish'] = $finish;
$event['nofinish'] = $nofinish;
$event['allow_cid'] = $request['allow_cid'];