Skip to content

Commit 37e5c2e

Browse files
committed
Fix typo in variable name abpCahcheKey to abpCacheKey
1 parent 321a804 commit 37e5c2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/GlobalFilters/AbpCompiledQueryCacheKeyGenerator.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public virtual object GenerateCacheKey(Expression query, bool async)
2525
var cacheKey = InnerCompiledQueryCacheKeyGenerator.GenerateCacheKey(query, async);
2626
if (CurrentContext.Context is IAbpEfCoreDbFunctionContext abpEfCoreDbFunctionContext)
2727
{
28-
var abpCahcheKey = abpEfCoreDbFunctionContext.GetCompiledQueryCacheKey();
28+
var abpCacheKey = abpEfCoreDbFunctionContext.GetCompiledQueryCacheKey();
2929
var cacheKeyProviders = abpEfCoreDbFunctionContext.LazyServiceProvider.GetService<IEnumerable<IAbpEfCoreCompiledQueryCacheKeyProvider>>();
3030
if (cacheKeyProviders != null)
3131
{
@@ -34,12 +34,12 @@ public virtual object GenerateCacheKey(Expression query, bool async)
3434
var key = provider.GetCompiledQueryCacheKey();
3535
if (!key.IsNullOrWhiteSpace())
3636
{
37-
abpCahcheKey += $":{key}";
37+
abpCacheKey += $":{key}";
3838
}
3939
}
4040
}
4141

42-
return new AbpCompiledQueryCacheKey(cacheKey, abpCahcheKey);
42+
return new AbpCompiledQueryCacheKey(cacheKey, abpCacheKey);
4343
}
4444

4545
return cacheKey;

0 commit comments

Comments
 (0)