diff --git a/pkg/kapis/openpitrix/v1/handler.go b/pkg/kapis/openpitrix/v1/handler.go index 53ea5ceb0..2f8cad97d 100644 --- a/pkg/kapis/openpitrix/v1/handler.go +++ b/pkg/kapis/openpitrix/v1/handler.go @@ -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) {