Merge branch 'matthewpi/transfer-improvements' of https://github.com/Pterodactyl/Panel into matthewpi/transfer-improvements

This commit is contained in:
Dane Everitt 2020-12-24 10:10:41 -08:00
commit 25e53d9f22
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
49 changed files with 88 additions and 4473 deletions

View file

@ -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.');
}