Skip to content

Commit

Permalink
update bento mapper - one less lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Jump committed Aug 20, 2020
1 parent ce273fb commit 1cdcdc9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions uSync8.Community.Contrib/Mappers/BentoItemMapper.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;

using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
Expand Down Expand Up @@ -104,7 +103,7 @@ protected IEnumerable<uSyncDependency> GetItemDependency(JObject itemValue, Depe

List<uSyncDependency> dependencies = new List<uSyncDependency>();

var docTypeDependency = CreateDocTypeDependency(docTypeAlias, flags);
var docTypeDependency = CreateDocTypeDependency(docType, flags);
dependencies.AddNotNull(docTypeDependency);

dependencies.AddRange(GetPropertyDependencies(contentData, docType, flags));
Expand Down

0 comments on commit 1cdcdc9

Please sign in to comment.