fix backup job without s3 can not be added

This commit is contained in:
peaklabs-dev
2024-11-14 18:20:26 +01:00
parent 0e82b82ce3
commit b282c1f3ed

View File

@@ -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;