Allow setting the backup limit via the API; closes #2535

This commit is contained in:
Dane Everitt 2020-10-17 14:23:00 -07:00
parent 35f24e7f22
commit 5763493c6c
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 14 additions and 9 deletions

View file

@ -122,7 +122,7 @@ class Server extends Model
'installed' => 'in:0,1,2',
'database_limit' => 'present|nullable|integer|min:0',
'allocation_limit' => 'sometimes|nullable|integer|min:0',
'backup_limit' => 'present|integer|min:0',
'backup_limit' => 'present|nullable|integer|min:0',
];
/**