File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ async fn main() {
1111 config. basic_auth = Some ( ( String :: from ( "username" ) , Some ( String :: from ( "password" ) ) ) ) ;
1212 config. user_agent = Some ( String :: from ( "ExampleProgram/0.0.1 my@email.com" ) ) ;
1313
14- let mut jar = reqwest:: cookie:: Jar :: default ( ) ;
14+ let jar = reqwest:: cookie:: Jar :: default ( ) ;
1515 jar. set_cookies (
1616 & mut [ HeaderValue :: from_str (
1717 & "auth=[AUTH_COOKIE_HERE], twoFactorAuth=[TWO_FACTOR_AUTH_COOKIE_HERE]" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ async fn main() {
1313
1414 let cookie_store = std:: sync:: Arc :: new ( reqwest:: cookie:: Jar :: default ( ) ) ;
1515 config. client = reqwest:: Client :: builder ( )
16- . cookie_store ( true )
1716 . cookie_provider ( cookie_store. clone ( ) )
1817 . build ( )
1918 . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments