From 633602f0002c2d581983f81cee575805811b8b6a Mon Sep 17 00:00:00 2001 From: Mihai Dinculescu Date: Tue, 18 Aug 2020 01:32:49 +0100 Subject: [PATCH] juniper_rocket_async/ - Change Cookies to CookieJar (#739) --- juniper_rocket_async/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/juniper_rocket_async/src/lib.rs b/juniper_rocket_async/src/lib.rs index 84168a35..c32b1e70 100644 --- a/juniper_rocket_async/src/lib.rs +++ b/juniper_rocket_async/src/lib.rs @@ -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?")] /// fn get_graphql_handler( - /// mut cookies: Cookies, + /// cookies: &CookieJar, /// context: State, /// request: Form, /// schema: State,