feat(alerting): remove dummie values from email notifier

This commit is contained in:
bergquist
2016-06-23 16:30:12 +02:00
parent 6121d15ba7
commit 48e1a17ac2
5 changed files with 31 additions and 7 deletions

View File

@@ -249,10 +249,10 @@ func GetDashboards(query *m.GetDashboardsQuery) error {
return m.ErrCommandValidationFailed
}
var dashboards = make([]m.Dashboard, 0)
var dashboards = make([]*m.Dashboard, 0)
err := x.In("id", query.DashboardIds).Find(&dashboards)
query.Result = &dashboards
query.Result = dashboards
if err != nil {
return err