Alerting: Notification channel http api fixes (#16379)

Fixes so it's possible to create new notification channel and providing uid.
Fixes better error/result handling when updating a notifcation channel.

Fixes #16372
Ref #16219 #16012
This commit is contained in:
Marcus Efraimsson
2019-04-04 17:52:40 +02:00
committed by GitHub
parent 08ce7f6c93
commit 5da1faf454
3 changed files with 11 additions and 1 deletions

View File

@@ -382,6 +382,8 @@ func UpdateAlertNotificationWithUid(cmd *m.UpdateAlertNotificationWithUidCommand
return err
}
cmd.Result = updateNotification.Result
return nil
}