]> git.mxchange.org Git - friendica.git/commitdiff
Fix parameter names before being passed to Model\Event::store
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 7 Oct 2022 19:39:24 +0000 (15:39 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 7 Oct 2022 21:20:22 +0000 (17:20 -0400)
- Partial revert of 946db2ab459bd1c8e5d3fff47a6e964cd7a9094e

src/Module/Api/Friendica/Events/Create.php

index eb45b4974c5707bad56a0fe81e7159ae673d2fed..8a8f13b501e457eebc1f2357968e64d0fb8e2c90 100644 (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'];