Merge branch 'ChristianPauly-master-patch-74314' into 'master'

Hotfix OpenIdCredentials

See merge request famedly/famedlysdk!342
This commit is contained in:
Sorunome 2020-06-10 09:12:56 +00:00
commit d660749a56
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ class OpenIdCredentials {
String accessToken;
String tokenType;
String matrixServerName;
int expiresIn;
double expiresIn;
OpenIdCredentials.fromJson(Map<String, dynamic> json) {
accessToken = json['access_token'];

View file

@ -1707,7 +1707,7 @@ class FakeMatrixApi extends MockClient {
'access_token': 'SomeT0kenHere',
'token_type': 'Bearer',
'matrix_server_name': 'example.com',
'expires_in': 3600
'expires_in': 3600.0
},
'/client/r0/user/@test:fakeServer.notExisting/openid/request_token':
(var req) => {