From e49acc1d6c70b6b32d354af344c5aa63d7c83f3d Mon Sep 17 00:00:00 2001 From: akfakmot Date: Tue, 29 Oct 2024 13:09:44 +0100 Subject: [PATCH] Remove GUID uppercase conversion Chore: Remove GUID uppercase conversion --- Migration.Tool.Extensions/DefaultMigrations/AssetMigration.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Migration.Tool.Extensions/DefaultMigrations/AssetMigration.cs b/Migration.Tool.Extensions/DefaultMigrations/AssetMigration.cs index 64d7b63c..22d6f839 100644 --- a/Migration.Tool.Extensions/DefaultMigrations/AssetMigration.cs +++ b/Migration.Tool.Extensions/DefaultMigrations/AssetMigration.cs @@ -337,7 +337,7 @@ public void MigrateFieldDefinition(FormDefinitionPatcher formDefinitionPatcher, { settings.EnsureElement(FormDefinitionPatcher.SettingsElemControlname, e => e.Value = FormComponents.AdminContentItemSelectorComponent); Guid[] allowedContentTypes = [AssetFacade.LegacyMediaFileContentType.ClassGUID!.Value, AssetFacade.LegacyAttachmentContentType.ClassGUID!.Value]; - settings.EnsureElement(FormDefinitionPatcher.AllowedContentItemTypeIdentifiers, e => e.Value = JsonConvert.SerializeObject(allowedContentTypes.Select(x => x.ToString().ToUpper()).ToArray())); + settings.EnsureElement(FormDefinitionPatcher.AllowedContentItemTypeIdentifiers, e => e.Value = JsonConvert.SerializeObject(allowedContentTypes.Select(x => x.ToString()).ToArray())); } } }