From d7f375ed84e10bc47e8ed30a7ffb7a7f295a2041 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Thu, 30 May 2019 09:13:58 +0300 Subject: [PATCH] typo fix --- .../Volo/Docs/Documents/DocumentAppService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs b/modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs index c7680baf1b..95a869f296 100644 --- a/modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs +++ b/modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs @@ -16,20 +16,20 @@ namespace Volo.Docs.Documents private readonly IProjectRepository _projectRepository; private readonly IDocumentStoreFactory _documentStoreFactory; protected IDistributedCache DocumentCache { get; } - protected IDistributedCache LanguaCache { get; } + protected IDistributedCache LanguageCache { get; } protected IDistributedCache ResourceCache { get; } public DocumentAppService( IProjectRepository projectRepository, IDocumentStoreFactory documentStoreFactory, IDistributedCache documentCache, - IDistributedCache languaCache, + IDistributedCache languageCache, IDistributedCache resourceCache) { _projectRepository = projectRepository; _documentStoreFactory = documentStoreFactory; DocumentCache = documentCache; - LanguaCache = languaCache; + LanguageCache = languageCache; ResourceCache = resourceCache; } @@ -149,7 +149,7 @@ namespace Volo.Docs.Documents return await store.GetLanguageListAsync(project, version); } - return await LanguaCache.GetOrAddAsync( + return await LanguageCache.GetOrAddAsync( project.ShortName, GetLanguagesAsync, () => new DistributedCacheEntryOptions