Skip to content

Commit 6b02aa8

Browse files
committed
client-api: Add custom variant to LoginInfo
1 parent 451f13d commit 6b02aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl<C: HttpClient> Client<C> {
3030
let response = self
3131
.send_request(assign!(
3232
login::Request::new(
33-
LoginInfo::Password { identifier: UserIdentifier::MatrixId(user), password }
33+
LoginInfo::Password(login::Password { identifier: UserIdentifier::MatrixId(user), password })
3434
), {
3535
device_id,
3636
initial_device_display_name,

0 commit comments

Comments
 (0)