This commit is contained in:
Mike Casas
2020-06-18 07:35:40 -04:00
parent ab8a1e7324
commit ee5553ad8a
3 changed files with 5 additions and 2 deletions

View File

@ -21,6 +21,7 @@ namespace Oqtane.Repository
return _db.Notification
.Where(item => item.SiteId == siteId)
.Where(item => item.IsDelivered == false)
.Where(item => item.SendOn < System.DateTime.UtcNow)
.ToList();
}