fix: better graphql response type for native
Java CI with Maven / build-and-test (pull_request) Successful in 19m15s
Java CI with Maven / build-and-test (pull_request) Successful in 19m15s
This commit is contained in:
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user