Small updates to share dashboard snapshot feature

This commit is contained in:
Torkel Ödegaard
2015-03-24 15:46:17 +01:00
parent d758729633
commit c27db7a347
5 changed files with 55 additions and 44 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
)
func CreateDashboardSnapshot(c *middleware.Context, cmd m.CreateDashboardSnapshotCommand) {
cmd.Key = util.GetRandomString(20)
cmd.Key = util.GetRandomString(32)
if err := bus.Dispatch(&cmd); err != nil {
c.JsonApiErr(500, "Failed to create snaphost", err)