juniper_rocket_async/ - Change Cookies to CookieJar (#739)

This commit is contained in:
Mihai Dinculescu 2020-08-18 01:32:49 +01:00 committed by GitHub
parent fdad97aa08
commit 633602f000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,7 +155,7 @@ impl GraphQLResponse {
/// # extern crate juniper_rocket_async;
/// # extern crate rocket;
/// #
/// # use rocket::http::Cookies;
/// # use rocket::http::CookieJar;
/// # use rocket::request::Form;
/// # use rocket::response::content;
/// # use rocket::State;
@ -168,7 +168,7 @@ impl GraphQLResponse {
/// #
/// #[rocket::get("/graphql?<request..>")]
/// fn get_graphql_handler(
/// mut cookies: Cookies,
/// cookies: &CookieJar,
/// context: State<Database>,
/// request: Form<juniper_rocket_async::GraphQLRequest>,
/// schema: State<Schema>,