fix(snapshots): sets default value for snapshot name

make it possible for < 3.0 instances to publish snapshots

ref #4778
This commit is contained in:
bergquist
2016-04-21 09:59:48 +02:00
parent 7079b5d770
commit 51de894692
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ type DashboardSnapshotDTO struct {
type CreateDashboardSnapshotCommand struct {
Dashboard *simplejson.Json `json:"dashboard" binding:"Required"`
Name string `json:"name" binding:"Required"`
Name string `json:"name"`
Expires int64 `json:"expires"`
// these are passed when storing an external snapshot ref