Update request.rs

This commit is contained in:
SwayStar123 authored and Martin Algesten committed 2023-03-13 16:35:36 +01:00
1 parent 2b86691a81
commit efdd55421f
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ impl Request {
} }
let json_bytes = serde_json::to_vec(&data) 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)) self.do_call(Payload::Bytes(&json_bytes))
} }