Skip to content

Commit

Permalink
Remove GUID uppercase conversion
Browse files Browse the repository at this point in the history
Chore: Remove GUID uppercase conversion
  • Loading branch information
akfakmot committed Oct 29, 2024
1 parent 75e986f commit e49acc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
}
}

0 comments on commit e49acc1

Please sign in to comment.