feat(alerting): remove dummie values from email notifier
This commit is contained in:
1 parent
6121d15ba7
commit
48e1a17ac2
5 files changed
+31
-7
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user