We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ee7c6 commit c7b05d5Copy full SHA for c7b05d5
src/Umbraco.Infrastructure/DeliveryApi/ApiMediaWithCropsResponseBuilder.cs
@@ -1,4 +1,4 @@
1
-using Umbraco.Cms.Core.DeliveryApi;
+using Umbraco.Cms.Core.DeliveryApi;
2
using Umbraco.Cms.Core.Models.DeliveryApi;
3
using Umbraco.Cms.Core.Models.PublishedContent;
4
using Umbraco.Cms.Core.PublishedCache;
@@ -38,7 +38,7 @@ private IEnumerable<string> PathSegments(IPublishedContent media)
38
while (current != null)
39
{
40
yield return current.Name.ToLowerInvariant();
41
- current = GetParent(media);
+ current = GetParent(current);
42
}
43
44
0 commit comments