From 8709a7749bb932a2e6a8acf0d06b5c247f38763d Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 13 Jan 2025 21:26:20 +0100 Subject: [PATCH] fix: db without s3 should still backup --- app/Livewire/Project/Database/BackupEdit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/Project/Database/BackupEdit.php b/app/Livewire/Project/Database/BackupEdit.php index 6ebbf951e..012c6bb24 100644 --- a/app/Livewire/Project/Database/BackupEdit.php +++ b/app/Livewire/Project/Database/BackupEdit.php @@ -64,10 +64,10 @@ class BackupEdit extends Component #[Validate(['required', 'boolean'])] public bool $saveS3 = false; - #[Validate(['required', 'integer'])] + #[Validate(['nullable', 'integer'])] public ?int $s3StorageId = 1; - #[Validate(['required', 'string'])] + #[Validate(['nullable', 'string'])] public ?string $databasesToBackup = null; #[Validate(['required', 'boolean'])]