Skip to content

Commit b9b5c22

Browse files
committed
Refactor send_request_as to use SendAccessToken for authentication
1 parent 34d4459 commit b9b5c22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ where
190190
fn send_request_as<'a, C, R>(
191191
http_client: &'a C,
192192
homeserver_url: &str,
193-
authentication_input: <R::Authentication as AuthScheme>::Input<'_>,
193+
send_access_token: SendAccessToken<'a>,
194194
path_builder_input: <R::PathBuilder as PathBuilder>::Input<'_>,
195195
identity: AppserviceUserIdentity<'_>,
196196
request: R,
@@ -205,7 +205,7 @@ where
205205
request
206206
.try_into_http_request_with_identity(
207207
homeserver_url,
208-
authentication_input,
208+
send_access_token,
209209
identity,
210210
path_builder_input,
211211
)

0 commit comments

Comments
 (0)