Fix endpoint name typo in juniper_actix example, vol.2 (#977, #976)

This commit is contained in:
nitnelave 2021-08-26 09:38:16 +02:00 committed by GitHub
parent 717c202ba9
commit 4c76e93cfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,10 +94,10 @@ fn schema() -> Schema {
}
async fn graphiql_route() -> Result<HttpResponse, Error> {
graphiql_handler("/graphgl", None).await
graphiql_handler("/graphql", None).await
}
async fn playground_route() -> Result<HttpResponse, Error> {
playground_handler("/graphgl", None).await
playground_handler("/graphql", None).await
}
async fn graphql_route(
req: actix_web::HttpRequest,