diff --git a/uSync8.Community.Contrib/Mappers/BentoItemMapper.cs b/uSync8.Community.Contrib/Mappers/BentoItemMapper.cs index c53a055a..aec62a4a 100644 --- a/uSync8.Community.Contrib/Mappers/BentoItemMapper.cs +++ b/uSync8.Community.Contrib/Mappers/BentoItemMapper.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Runtime.InteropServices; using Newtonsoft.Json; using Newtonsoft.Json.Linq; @@ -104,7 +103,7 @@ protected IEnumerable GetItemDependency(JObject itemValue, Depe List dependencies = new List(); - var docTypeDependency = CreateDocTypeDependency(docTypeAlias, flags); + var docTypeDependency = CreateDocTypeDependency(docType, flags); dependencies.AddNotNull(docTypeDependency); dependencies.AddRange(GetPropertyDependencies(contentData, docType, flags));