diff --git a/app/Helpers/StorageHelper.php b/app/Helpers/StorageHelper.php index d33ca58a6ca..cfa17e5dbfe 100644 --- a/app/Helpers/StorageHelper.php +++ b/app/Helpers/StorageHelper.php @@ -35,7 +35,7 @@ public static function uploadcare(): array return [ 'publicKey' => config('services.uploadcare.public_key'), 'signature' => optional($signature)->getSignature(), - 'expire' => optional($signature)->getExpire()->getTimestamp(), + 'expire' => optional(optional($signature)->getExpire())->getTimestamp(), ]; } }