feat(events): add exact_location field to events and update related logic

This commit is contained in:
2026-09-18 14:48:25 -03:00
parent 801d25b218
commit dc5134a6ec
7 changed files with 32 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ class EventService
$event->update([
'title' => $data['title'],
'location' => $data['location'],
...array_intersect_key($data, ['attachment_id' => true]),
...array_intersect_key($data, ['attachment_id' => true, 'exact_location' => true]),
]);
$tenant->update([
...array_intersect_key($data, array_flip([