Fix request openID

This commit is contained in:
Christian Pauly 2020-06-09 16:05:41 +00:00
parent a2f7dd4223
commit 0e33634e1a

View file

@ -1972,6 +1972,7 @@ class MatrixApi {
final response = await request( final response = await request(
RequestType.POST, RequestType.POST,
'/client/r0/user/${Uri.encodeComponent(userId)}/openid/request_token', '/client/r0/user/${Uri.encodeComponent(userId)}/openid/request_token',
data: {},
); );
return OpenIdCredentials.fromJson(response); return OpenIdCredentials.fromJson(response);
} }