Update request.rs
This commit is contained in:
committed by
Martin Algesten
parent
2b86691a81
commit
efdd55421f
@@ -197,7 +197,7 @@ impl Request {
|
||||
}
|
||||
|
||||
let json_bytes = serde_json::to_vec(&data)
|
||||
.expect("Failed to serialze data passed to send_json into JSON");
|
||||
.expect("Failed to serialize data passed to send_json into JSON");
|
||||
|
||||
self.do_call(Payload::Bytes(&json_bytes))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user