[Client] Send empty object with request
This commit is contained in:
parent
3eced168a6
commit
9b0d746fee
|
@ -1056,8 +1056,10 @@ class Client {
|
|||
/// The generated token is only valid for exchanging for user information from the federation API for OpenID.
|
||||
Future<OpenIdCredentials> requestOpenIdCredentials() async {
|
||||
final Map<String, dynamic> response = await jsonRequest(
|
||||
type: HTTPType.POST,
|
||||
action: "/client/r0/user/$userID/openid/request_token");
|
||||
type: HTTPType.POST,
|
||||
action: "/client/r0/user/$userID/openid/request_token",
|
||||
data: {},
|
||||
);
|
||||
return OpenIdCredentials.fromJson(response);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue