This commit is contained in:
2020-07-22 23:43:42 +00:00
parent d09d694719
commit bea2293c51
3 changed files with 5 additions and 4 deletions

View File

@@ -185,7 +185,7 @@ namespace AyaNova.Biz
//Used for subject of email and message deliveries
private static string GetTranslatedNotifyEventName(NotifyEventType net, long translationId)
{
return _transCache[translationId][(int)net].Name;
return _transCache.First(z => z.Key == translationId).Value.First(z => z.Id == (int)net).Name;
}
private static async Task DeliverInApp(NotifyEvent ne, AyContext ct)