UmbracoPath has been removed from the official schema store, remove temporary workaround from our schema generator as well (#13043)

This commit is contained in:
Kenn Jacobsen
2022-09-22 10:18:40 +02:00
committed by GitHub
parent 4e6e0d6e14
commit 986635c8a0

View File

@@ -46,9 +46,6 @@ namespace JsonSchema
JObject schema = JsonConvert.DeserializeObject<JObject>(result)!;
// TODO: when "UmbracoPath" is removed from the from the official schema store, remove this line as well
(schema.Root["definitions"]?["umbracoGlobal"]?["properties"] as JObject)?.Remove(nameof(GlobalSettings.UmbracoPath));
return schema;
}