diff --git a/app/Models/Egg.php b/app/Models/Egg.php index 001be85e3..1ca0da55b 100644 --- a/app/Models/Egg.php +++ b/app/Models/Egg.php @@ -58,7 +58,7 @@ class Egg extends Model /** * Defines the current egg export version. */ - public const EXPORT_VERSION = 'PTDL_v2'; + public const EXPORT_VERSION = 'PLCN_v1'; /** * Different features that can be enabled on any given egg. These are used internally diff --git a/app/Services/Eggs/Sharing/EggImporterService.php b/app/Services/Eggs/Sharing/EggImporterService.php index 41b56537d..56942b231 100644 --- a/app/Services/Eggs/Sharing/EggImporterService.php +++ b/app/Services/Eggs/Sharing/EggImporterService.php @@ -110,6 +110,7 @@ class EggImporterService $parsed = match ($version) { 'PTDL_v1' => $this->convertToV2($parsed), 'PTDL_v2' => $parsed, + 'PLCN_V1' => $parsed, default => throw new InvalidFileUploadException('The JSON file provided is not in a format that can be recognized.') };