Merge branch 'client-fix-request-openid' into 'master'

[Client] Send empty object with request

See merge request famedly/famedlysdk!162
This commit is contained in:
Christian Pauly 2020-01-13 12:55:42 +00:00
commit 4fe18fe1e3

View file

@ -1057,7 +1057,9 @@ class Client {
Future<OpenIdCredentials> requestOpenIdCredentials() async {
final Map<String, dynamic> response = await jsonRequest(
type: HTTPType.POST,
action: "/client/r0/user/$userID/openid/request_token");
action: "/client/r0/user/$userID/openid/request_token",
data: {},
);
return OpenIdCredentials.fromJson(response);
}
}