diff --git a/juniper_rocket/src/lib.rs b/juniper_rocket/src/lib.rs index 15c8f4a5..4c3ed354 100644 --- a/juniper_rocket/src/lib.rs +++ b/juniper_rocket/src/lib.rs @@ -93,7 +93,7 @@ impl GraphQLRequest { } else { Status::BadRequest }; - let json = serde_json::to_string_pretty(&response).unwrap(); + let json = serde_json::to_string(&response).unwrap(); GraphQLResponse(status, json) }