Index: pkg/oauth2/lib/src/handle_access_token_response.dart |
diff --git a/pkg/oauth2/lib/src/handle_access_token_response.dart b/pkg/oauth2/lib/src/handle_access_token_response.dart |
index b80532d3f5a6f92a16b07c903fc691792577f842..d1fedea73c2476572dfbbda4dc492b980dfca61c 100644 |
--- a/pkg/oauth2/lib/src/handle_access_token_response.dart |
+++ b/pkg/oauth2/lib/src/handle_access_token_response.dart |
@@ -24,7 +24,7 @@ const _EXPIRATION_GRACE = 10; |
Credentials handleAccessTokenResponse( |
http.Response response, |
Uri tokenEndpoint, |
- Date startTime, |
+ DateTime startTime, |
List<String> scopes) { |
if (response.statusCode != 200) _handleErrorResponse(response, tokenEndpoint); |