fixes #1518 fix table name used in dashboard delete.

This commit is contained in:
Anthony Woods 2015-02-24 08:56:10 +00:00
parent 5b2715515f
commit b9b63f695d

View File

@ -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