added missing translations
This commit is contained in:
@@ -1230,6 +1230,7 @@ class EventPublicController extends BaseController
|
||||
|
||||
$branding = $this->buildGalleryBranding($event);
|
||||
$expiresAt = optional($event->eventPackage)->gallery_expires_at;
|
||||
$settings = is_array($event->settings) ? $event->settings : [];
|
||||
|
||||
return response()->json([
|
||||
'event' => [
|
||||
@@ -1238,6 +1239,8 @@ class EventPublicController extends BaseController
|
||||
'slug' => $event->slug,
|
||||
'description' => $this->translateLocalized($event->description, $locale, ''),
|
||||
'gallery_expires_at' => $expiresAt?->toIso8601String(),
|
||||
'guest_downloads_enabled' => (bool) ($settings['guest_downloads_enabled'] ?? true),
|
||||
'guest_sharing_enabled' => (bool) ($settings['guest_sharing_enabled'] ?? true),
|
||||
],
|
||||
'branding' => $branding,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user