rename GetNotificationStateQuery to GetOrCreateNotificationStateQuery

This commit is contained in:
bergquist
2018-10-02 11:23:40 +02:00
parent 7f1d7cefc0
commit 341d8af637
4 changed files with 15 additions and 15 deletions

View File

@@ -177,7 +177,7 @@ func (n *notificationService) getNeededNotifiers(orgId int64, notificationIds []
continue
}
query := &m.GetNotificationStateQuery{
query := &m.GetOrCreateNotificationStateQuery{
NotifierId: notification.Id,
AlertId: evalContext.Rule.Id,
OrgId: evalContext.Rule.OrgId,