appservice-api: Fix push_events test not compiling with unstable features
This commit is contained in:
parent
664638299b
commit
0afba1a5d0
@ -390,7 +390,7 @@ pub mod v1 {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
let events = vec![dummy_event];
|
let events = vec![dummy_event];
|
||||||
|
|
||||||
let req = Request { events: &events, txn_id: "any_txn_id".into() }
|
let req = Request::new("any_txn_id".into(), &events)
|
||||||
.try_into_http_request::<Vec<u8>>(
|
.try_into_http_request::<Vec<u8>>(
|
||||||
"https://homeserver.tld",
|
"https://homeserver.tld",
|
||||||
SendAccessToken::IfRequired("auth_tok"),
|
SendAccessToken::IfRequired("auth_tok"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user