mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 02:14:44 +02:00
use correct case for import
use lower case `v` instead of upper case `V`
This commit is contained in:
parent
47bd7289b1
commit
b85b17f080
@ -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