mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
fixes #1518 fix table name used in dashboard delete.
This commit is contained in:
parent
5b2715515f
commit
b9b63f695d
@ -171,7 +171,7 @@ func DeleteDashboard(cmd *m.DeleteDashboardCommand) error {
|
||||
sess := x.NewSession()
|
||||
defer sess.Close()
|
||||
|
||||
rawSql := "DELETE FROM Dashboard WHERE account_id=? and slug=?"
|
||||
rawSql := "DELETE FROM dashboard WHERE account_id=? and slug=?"
|
||||
_, err := sess.Exec(rawSql, cmd.AccountId, cmd.Slug)
|
||||
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user