feat(events): support event cover attachments

This commit is contained in:
2026-09-18 14:33:21 -03:00
parent 22ef5619f3
commit 8d2250d247
5 changed files with 37 additions and 1 deletions

View File

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