mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Allow changing the prune age for backups
This commit is contained in:
@@ -52,7 +52,7 @@ class BackupRemoteUploadController extends Controller
|
||||
public function __invoke(Request $request, string $backup)
|
||||
{
|
||||
// Get the size query parameter.
|
||||
$size = (int)$request->query('size');
|
||||
$size = (int) $request->query('size');
|
||||
if (empty($size)) {
|
||||
throw new BadRequestHttpException('A non-empty "size" query parameter must be provided.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user