Merge pull request #706 from parkervcp/update/egg_version

use correct case for import
This commit is contained in:
Michael (Parker) Parker 2024-11-09 13:59:38 -05:00 committed by GitHub
commit cb522b24ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,7 +115,7 @@ class EggImporterService
$parsed = match ($version) { $parsed = match ($version) {
'PTDL_v1' => $this->convertToV2($parsed), 'PTDL_v1' => $this->convertToV2($parsed),
'PTDL_v2' => $parsed, 'PTDL_v2' => $parsed,
'PLCN_V1' => $parsed, 'PLCN_v1' => $parsed,
default => throw new InvalidFileUploadException('The JSON file provided is not in a format that can be recognized.') default => throw new InvalidFileUploadException('The JSON file provided is not in a format that can be recognized.')
}; };