This commit is contained in:
2022-01-28 21:12:51 +00:00
parent 0c285157a9
commit 5af04fb834
2 changed files with 5 additions and 6 deletions

View File

@@ -615,6 +615,7 @@ namespace AyaNova.Biz
if (ayaEvent == AyaEvent.Created || ayaEvent == AyaEvent.Modified)
{
//# REVIEW IMMINENT
if (o.CompletedDate == null && o.ReviewDate > DateTime.UtcNow)
{
//notify users (time delayed)
var subs = await ct.NotifySubscription.Where(z => z.EventType == NotifyEventType.ReviewImminent).ToListAsync();