Fix container creation for media types (#3839)
This commit is contained in:
committed by
Sebastiaan Janssen
parent
12586df562
commit
506319695b
@@ -739,7 +739,7 @@ namespace Umbraco.Core.Services.Implement
|
||||
|
||||
try
|
||||
{
|
||||
var container = new EntityContainer(Constants.ObjectTypes.DocumentType)
|
||||
var container = new EntityContainer(ContainedObjectType)
|
||||
{
|
||||
Name = name,
|
||||
ParentId = parentId,
|
||||
|
||||
Reference in New Issue
Block a user