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 accessToken;
String tokenType; String tokenType;
String matrixServerName; String matrixServerName;
int expiresIn; double expiresIn;
OpenIdCredentials.fromJson(Map<String, dynamic> json) { OpenIdCredentials.fromJson(Map<String, dynamic> json) {
accessToken = json['access_token']; accessToken = json['access_token'];

View File

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