Skip to content

Commit 70cb14b

Browse files
Rename method
1 parent 4114c67 commit 70cb14b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Umbraco.Commerce.Checkout/Events/SetStoreCheckoutRelation.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected override Task HandleContentOfTypeAsync(IContent content)
2626
{
2727
if (content.HasProperty(UmbracoCommerceConstants.Properties.StorePropertyAlias))
2828
{
29-
EnsureStoreCheckoutStoreRelation(content, content);
29+
EnsureStoreCheckoutRelation(content, content);
3030
}
3131
else
3232
{
@@ -39,7 +39,7 @@ protected override Task HandleContentOfTypeAsync(IContent content)
3939
{
4040
if (content2.HasProperty(UmbracoCommerceConstants.Properties.StorePropertyAlias))
4141
{
42-
EnsureStoreCheckoutStoreRelation(content2, content);
42+
EnsureStoreCheckoutRelation(content2, content);
4343
break;
4444
}
4545
}
@@ -50,7 +50,7 @@ protected override Task HandleContentOfTypeAsync(IContent content)
5050
return Task.CompletedTask;
5151
}
5252

53-
private void EnsureStoreCheckoutStoreRelation(IContent storeRootPage, IContent checkoutPage)
53+
private void EnsureStoreCheckoutRelation(IContent storeRootPage, IContent checkoutPage)
5454
{
5555
if (!relationService.AreRelated(checkoutPage.Id, storeRootPage.Id, UmbracoCommerceCheckoutConstants.RelationTypes.Aliases.StoreCheckout))
5656
{
@@ -65,6 +65,7 @@ private void EnsureStoreCheckoutStoreRelation(IContent storeRootPage, IContent c
6565
Umbraco.Cms.Core.Constants.ObjectTypes.Document,
6666
Umbraco.Cms.Core.Constants.ObjectTypes.Document,
6767
false);
68+
6869
relationService.Save(relationType);
6970
}
7071

0 commit comments

Comments
 (0)