mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 14:24:46 +02:00
Merge pull request #706 from parkervcp/update/egg_version
use correct case for import
This commit is contained in:
commit
cb522b24ef
@ -115,7 +115,7 @@ class EggImporterService
|
||||
$parsed = match ($version) {
|
||||
'PTDL_v1' => $this->convertToV2($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.')
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user