From 3dd505c3b4fb1de74b40bc0014e9e1e20aeb9b62 Mon Sep 17 00:00:00 2001 From: ndrwrbgs Date: Fri, 27 Dec 2019 18:19:34 -0800 Subject: [PATCH] Change argument named 'key' to pass local variable key instead of cachePath --- src/FileCache/FileCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileCache/FileCache.cs b/src/FileCache/FileCache.cs index 9d3de91..8c95b1d 100644 --- a/src/FileCache/FileCache.cs +++ b/src/FileCache/FileCache.cs @@ -850,7 +850,7 @@ public override object Get(string key, string regionName = null) if (payload.Policy.SlidingExpiration > new TimeSpan()) { payload.Policy.AbsoluteExpiration = DateTime.Now.Add(payload.Policy.SlidingExpiration); - WriteHelper(PayloadWriteMode, cachedItemPath, payload, regionName, true); + WriteHelper(PayloadWriteMode, key, payload, regionName, true); } }