fix: economical JSON

This commit is contained in:
2026-05-08 15:22:25 +03:00
parent 031757353d
commit 5382488a82
2 changed files with 2 additions and 2 deletions

View File

@@ -649,7 +649,7 @@ public class MainVerticle extends AbstractVerticle {
rc.response()
.putHeader("Content-Type", "application/json")
.putHeader("Content-Disposition", "attachment; filename=olap_export.json")
.end(fullJson.encodePrettily());
.end(fullJson.encode());
});
return router;

View File

@@ -41,7 +41,7 @@ public class IikoHandler {
getAllFieldsWithReportAndTags()
.onSuccess(ar -> ctx.response()
.putHeader("Content-Type", "application/json")
.end(ar.encodePrettily()))
.end(ar.encode()))
.onFailure(err -> ctx.response()
.setStatusCode(500)
.end(err.getMessage()));