feat(events): support event cover attachments
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user