This commit is contained in:
@@ -17,7 +17,7 @@ namespace AyaNova.Biz
|
||||
await semaphoreSlim.WaitAsync();
|
||||
try
|
||||
{
|
||||
if (!theCache.ContainsKey(1))
|
||||
if (!theCache.ContainsKey(id))
|
||||
theCache.Add(id, await GetTranslationSearchDataAsync(id));
|
||||
return theCache.First(z=>z.Key==id).Value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user