From: Hypolite Petovan Date: Fri, 7 Oct 2022 19:39:24 +0000 (-0400) Subject: Fix parameter names before being passed to Model\Event::store X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2cbc11403eed13258cec67fe3d8ccd460834ac24;p=friendica.git Fix parameter names before being passed to Model\Event::store - Partial revert of 946db2ab459bd1c8e5d3fff47a6e964cd7a9094e --- diff --git a/src/Module/Api/Friendica/Events/Create.php b/src/Module/Api/Friendica/Events/Create.php index eb45b4974c..8a8f13b501 100644 --- a/src/Module/Api/Friendica/Events/Create.php +++ b/src/Module/Api/Friendica/Events/Create.php @@ -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'];