allow overriding dashboards from api

This commit is contained in:
bergquist 2017-12-12 13:18:00 +01:00
parent 871b98c06b
commit ff1b71bc20

View File

@ -139,6 +139,7 @@ func PostDashboard(c *middleware.Context, cmd m.SaveDashboardCommand) Response {
Message: cmd.Message,
OrgId: c.OrgId,
UserId: c.UserId,
Overwrite: cmd.Overwrite,
}
dashboard, err := dashboards.GetRepository().SaveDashboard(dashItem)