fix(frontend): fix utf8 encoding bug (#3168)

This commit is contained in:
Gabe Lyons 2021-08-30 20:24:22 -07:00 committed by GitHub
parent ce34e68f99
commit b19addb347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ public class GraphQLController {
@Inject
GraphQLEngine _engine;
@PostMapping("/graphql")
@PostMapping(value = "/graphql", produces = "application/json;charset=utf-8")
CompletableFuture<ResponseEntity<String>> postGraphQL(HttpEntity<String> httpEntity) {
String jsonStr = httpEntity.getBody();