Skip to content

Commit 296b66b

Browse files
Have FromArtifact return string not JObject
1 parent f7659e7 commit 296b66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Commerce.Deploy/Connectors/ValueConnectors/UmbracoCommerceVariantsEditorValueConnector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public override object FromArtifact(string value, IPropertyType propertyType, ob
7272
result.Content = FromArtifact(result.Content, propertyEditorAliases, contextCache).ToList();
7373
result.Settings = FromArtifact(result.Settings, propertyEditorAliases, contextCache).ToList();
7474

75-
return JObject.FromObject(result);
75+
return JsonConvert.SerializeObject(result, Formatting.None);
7676
}
7777

7878
return null;

0 commit comments

Comments
 (0)