projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
17119: fix options and response type of the groups/shared and
[arvados.git]
/
lib
/
controller
/
router
/
response.go
diff --git
a/lib/controller/router/response.go
b/lib/controller/router/response.go
index d554ab930f30ce54b5405466c596a58843d237f2..656e731701a47d815a27b8537c78860ce2f08bf2 100644
(file)
--- a/
lib/controller/router/response.go
+++ b/
lib/controller/router/response.go
@@
-71,7
+71,9
@@
func (rtr *router) sendResponse(w http.ResponseWriter, req *http.Request, resp i
}
respKind := kind(resp)
- if respKind != "" {
+ if respKind == "arvados#sharedGroupList" {
+ tmp["kind"] = "arvados#groupList"
+ } else if respKind != "" {
tmp["kind"] = respKind
}
defaultItemKind := ""