Commit 3c1bf561 authored by ThomasBS's avatar ThomasBS

Add projects to group

parent 32d53f1b
...@@ -37,6 +37,7 @@ type Group struct { ...@@ -37,6 +37,7 @@ type Group struct {
Name string `json:"name"` Name string `json:"name"`
Path string `json:"path"` Path string `json:"path"`
Description string `json:"description"` Description string `json:"description"`
Projects *[]Project `json:"projects,omitempty"`
} }
// ListGroups gets a list of groups. (As user: my groups, as admin: all groups) // ListGroups gets a list of groups. (As user: my groups, as admin: all groups)
......
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