Skip to content

Commit

Permalink
Merge pull request #100 from HiEventsDev/develop
Browse files Browse the repository at this point in the history
Fix missing timezone breaking onboarding
  • Loading branch information
daveearley authored Jul 14, 2024
2 parents eda3d19 + e70ac0e commit f6fa71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/Services/Handlers/Event/CreateEventHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function handle(CreateEventDTO $eventData): EventDomainObject
->setEndDate($eventData->end_date)
->setDescription($eventData->description)
->setAttributes($eventData->attributes?->toArray())
->setTimezone($eventData->timezone)
->setTimezone($eventData->timezone ?? $organizer->getTimezone())
->setCurrency($eventData->currency ?? $organizer->getCurrency())
->setStatus($eventData->status)
->setEventSettings($eventData->event_settings)
Expand Down

0 comments on commit f6fa71a

Please sign in to comment.