Skip to content

Commit 4f99d1b

Browse files
author
David Peck
committed
Removed unnecessary changes
1 parent 40a8aaa commit 4f99d1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Our.Umbraco.TagHelpers/UmbracoCacheTagHelper.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using Microsoft.AspNetCore.Mvc.TagHelpers.Cache;
33
using Microsoft.AspNetCore.Razor.TagHelpers;
44
using Our.Umbraco.TagHelpers.Services;
5-
using System.Collections.Generic;
65
using System.Text.Encodings.Web;
76
using System.Threading.Tasks;
87
using Umbraco.Cms.Core;
@@ -63,7 +62,7 @@ public override async Task ProcessAsync(TagHelperContext context, TagHelperOutpu
6362
// and clear all items out in that collection with our notifications on publish
6463
var cacheKey = new CacheTagKey(this, context);
6564
var key = cacheKey.GenerateKey();
66-
_ = cacheKey.GenerateHashedKey();
65+
var hashedKey = cacheKey.GenerateHashedKey();
6766
_cacheKeys.CacheKeys.TryAdd(key, cacheKey);
6867
}
6968
}

0 commit comments

Comments
 (0)