mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Add support for seeding nests and eggs
This commit is contained in:
@@ -56,7 +56,7 @@ class EggUpdateImporterService
|
||||
*/
|
||||
public function handle(int $egg, UploadedFile $file)
|
||||
{
|
||||
if (! $file->isValid() || ! $file->isFile()) {
|
||||
if ($file->getError() !== UPLOAD_ERR_OK || ! $file->isFile()) {
|
||||
throw new InvalidFileUploadException(trans('exceptions.nest.importer.file_error'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user