Merge pull request #11970 from MrPetovan/bug/marcor-newapi
Fix parameter names before being passed to Model\Event::store
This commit is contained in:
commit
49c5d62530
|
@ -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'];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user