Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix backup job without s3 can not be added

peaklabs-devb282c1f3ed64
diff --git a/app/Livewire/Project/Database/CreateScheduledBackup.php b/app/Livewire/Project/Database/CreateScheduledBackup.php
index 0903efdfdf..e7bb451f6d 100644
--- a/app/Livewire/Project/Database/CreateScheduledBackup.php
+++ b/app/Livewire/Project/Database/CreateScheduledBackup.php
@@ -21,8 +21,8 @@ class CreateScheduledBackup extends Component
public bool $enabled = true;
- #[Validate(['required', 'integer'])]
- public int $s3StorageId;
+ #[Validate(['nullable', 'integer'])]
+ public ?int $s3StorageId = null;
public Collection $definedS3s;