Commit 82afe822 by Daniel Lee

WIP: add parentid to getdashboard query result

parent 68b9342d
......@@ -81,6 +81,7 @@ func GetDashboard(c *middleware.Context) {
Version: dash.Version,
HasAcl: dash.HasAcl,
IsFolder: dash.IsFolder,
ParentId: dash.ParentId,
},
}
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment