Skip to content

Commit

Permalink
Added missing short & long description
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko259 committed Aug 2, 2024
1 parent b137b1d commit f734fc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Controllers/EventController.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ public function store(Request $request)
$event = Event::create([
'calendar_id' => $request->input('calendar_id'),
'title' => $request->input('title'),
'description' => $request->input('description'),
'short_description' => $request->input('short_description'),
'long_description' => $request->input('long_description'),
'start_date' => Carbon::parse($request->input('start_date'))->format('Y-m-d H:i'),
'end_date' => Carbon::parse($request->input('end_date'))->format('Y-m-d H:i'),
'recurrence_interval' => $request->input('event_type') == '0' ? null : $request->input('recurrence_interval'),
Expand Down

0 comments on commit f734fc4

Please sign in to comment.