Change pretty json string to compact json string
This commit is contained in:
parent
bfe2ef511a
commit
10538eca8b
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ impl GraphQLRequest {
|
||||||
} else {
|
} else {
|
||||||
Status::BadRequest
|
Status::BadRequest
|
||||||
};
|
};
|
||||||
let json = serde_json::to_string_pretty(&response).unwrap();
|
let json = serde_json::to_string(&response).unwrap();
|
||||||
|
|
||||||
GraphQLResponse(status, json)
|
GraphQLResponse(status, json)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue