appservice-api: Fix push_events test not compiling with unstable features

This commit is contained in:
Jonas Platte 2022-10-31 10:55:05 +01:00
parent 664638299b
commit 0afba1a5d0
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C

View File

@ -390,7 +390,7 @@ pub mod v1 {
.unwrap();
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>>(
"https://homeserver.tld",
SendAccessToken::IfRequired("auth_tok"),