Unified call WriteEntity func

This commit is contained in:
SinTod
2022-06-06 15:30:11 +08:00
parent dc10a37624
commit 26b871ecf4

View File

@@ -753,7 +753,7 @@ func (h *openpitrixHandler) ListApplications(req *restful.Request, resp *restful
return
}
resp.WriteAsJson(result)
resp.WriteEntity(result)
}
func (h *openpitrixHandler) UpgradeApplication(req *restful.Request, resp *restful.Response) {