Hotfix OpenIdCredentials

This commit is contained in:
Christian Pauly 2020-06-10 09:12:55 +00:00 committed by Sorunome
parent d53003c0bd
commit 5487b62360
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) => {