From 395734ca448b2f722b4780295240f08cb55b402c Mon Sep 17 00:00:00 2001 From: Jamie Pollock Date: Thu, 18 Jan 2024 17:48:07 -0500 Subject: [PATCH] fix (Mapping): map links now correct uses configureContext. --- .../Links/UmbracoMapperLinkExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rhythm.Drop.Umbraco.Mapping/Links/UmbracoMapperLinkExtensions.cs b/src/Rhythm.Drop.Umbraco.Mapping/Links/UmbracoMapperLinkExtensions.cs index 0544314..71dcb49 100644 --- a/src/Rhythm.Drop.Umbraco.Mapping/Links/UmbracoMapperLinkExtensions.cs +++ b/src/Rhythm.Drop.Umbraco.Mapping/Links/UmbracoMapperLinkExtensions.cs @@ -27,7 +27,7 @@ public static class UmbracoMapperLinkExtensions return default; } - return mapper.MapLink(block.Content); + return mapper.MapLink(block.Content, configureContext); } /// @@ -39,7 +39,7 @@ public static class UmbracoMapperLinkExtensions /// A if successful. public static ILink? MapLink(this IUmbracoMapper mapper, IBlockReference? block, Action? configureContext = default) { - return mapper.MapLink(block); + return mapper.MapLink(block, configureContext); } ///