fix: better graphql response type for native
Java CI with Maven / build-and-test (pull_request) Successful in 19m15s

This commit is contained in:
TakahashiNg
2026-05-05 03:28:42 +00:00
parent f68296d764
commit fb8eddfbd6
@@ -51,7 +51,7 @@ public class EateryController {
);
if (response.hasError()) {
return Response.status(400).entity(response.getErrors()).build();
return Response.status(400).entity(jsonb.toJson(response.getErrors())).build();
}
return Response.ok(jsonb.toJson(response.getData()))