Fix parameter names before being passed to Model\Event::store

- Partial revert of 946db2ab45
This commit is contained in:
Hypolite Petovan 2022-10-07 15:39:24 -04:00
parent 616c4695f4
commit 2cbc11403e

View File

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