WIP: add parentid to getdashboard query result

This commit is contained in:
Daniel Lee
2017-05-24 18:51:07 +02:00
parent 68b9342de3
commit 82afe8228f
2 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@ func GetDashboard(c *middleware.Context) {
Version: dash.Version,
HasAcl: dash.HasAcl,
IsFolder: dash.IsFolder,
ParentId: dash.ParentId,
},
}

View File

@ -23,6 +23,7 @@ type DashboardMeta struct {
Version int `json:"version"`
HasAcl bool `json:"hasAcl"`
IsFolder bool `json:"isFolder"`
ParentId int64 `json:"parentId"`
}
type DashboardFullWithMeta struct {