未验证 提交 fdb22d01 编写于 作者: Z Zhengyi Lai

Bugfix: create app within user

Signed-off-by: NZhengyi Lai <zheng1@yunify.com>
上级 f53fc243
......@@ -504,6 +504,10 @@ func (h *openpitrixHandler) CreateApp(req *restful.Request, resp *restful.Respon
createAppRequest.Username = req.HeaderParameter(constants.UserNameHeader)
if req.PathParameter("workspace") != "" {
createAppRequest.Isv = req.PathParameter("workspace")
}
validate, _ := strconv.ParseBool(req.QueryParameter("validate"))
var result interface{}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册