Fix endpoint name typo in juniper_actix example (#976)

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

View file

@ -128,7 +128,7 @@ async fn main() -> std::io::Result<()> {
.wrap(middleware::Compress::default())
.wrap(middleware::Logger::default())
.service(
web::resource("/graphgl")
web::resource("/graphql")
.route(web::post().to(graphql_route))
.route(web::get().to(graphql_route)),
)