File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ impl Profile {
42
42
} } ) ;
43
43
let req = serde_json:: to_string ( & req_msg) ?;
44
44
45
- let client = reqwest:: Client :: new ( ) ;
45
+ let client = reqwest:: blocking :: Client :: new ( ) ;
46
46
let res = client. post ( LOGIN_URL )
47
47
. header ( reqwest:: header:: CONTENT_TYPE , "application/json" )
48
48
. body ( req)
@@ -70,7 +70,7 @@ impl Profile {
70
70
} ) ;
71
71
let req = serde_json:: to_string ( & req_msg) ?;
72
72
73
- let client = reqwest:: Client :: new ( ) ;
73
+ let client = reqwest:: blocking :: Client :: new ( ) ;
74
74
let res = client. post ( VALIDATE_URL )
75
75
. header ( reqwest:: header:: CONTENT_TYPE , "application/json" )
76
76
. body ( req)
@@ -129,7 +129,7 @@ impl Profile {
129
129
} ) ;
130
130
let join = serde_json:: to_string ( & join_msg) . unwrap ( ) ;
131
131
132
- let client = reqwest:: Client :: new ( ) ;
132
+ let client = reqwest:: blocking :: Client :: new ( ) ;
133
133
let res = client. post ( JOIN_URL )
134
134
. header ( reqwest:: header:: CONTENT_TYPE , "application/json" )
135
135
. body ( join)
You can’t perform that action at this time.
0 commit comments