This commit is contained in:
bergquist 2018-01-31 15:15:15 +01:00
parent 3da2ab61e0
commit 16a1642831
2 changed files with 5 additions and 7 deletions

View File

@ -20,8 +20,6 @@ func init() {
bus.AddHandler("sql", GetDashboardsByPluginId) bus.AddHandler("sql", GetDashboardsByPluginId)
} }
func SaveDashboard(cmd *m.SaveDashboardCommand) error { func SaveDashboard(cmd *m.SaveDashboardCommand) error {
return inTransaction(func(sess *DBSession) error { return inTransaction(func(sess *DBSession) error {
dash := cmd.GetDashboardModel() dash := cmd.GetDashboardModel()