Skip to content

Commit

Permalink
Fix mediaPicker3 dependency error.
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJump committed Jan 23, 2024
1 parent daa8ae4 commit 4bba2a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions uSync.Core/Extensions/JsonExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@

using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Net.Http.Headers;

using Newtonsoft.Json;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

using Umbraco.Extensions;
Expand Down
2 changes: 1 addition & 1 deletion uSync.Core/Mapping/Mappers/MediaPicker3Mapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public override IEnumerable<uSyncDependency> GetDependencies(object value, strin
{
// validate string
var stringValue = value?.ToString();
if (!stringValue.TryParseValidJsonString(out JArray images) is false)
if (stringValue.TryParseValidJsonString(out JArray images) is false)
return Enumerable.Empty<uSyncDependency>();

if (images == null || !images.Any())
Expand Down

0 comments on commit 4bba2a9

Please sign in to comment.