Skip to content

Commit

Permalink
Set expires_in to an hour instead of 1000 hours (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored Jan 14, 2019
1 parent dc9ed41 commit 2b661dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public LowLevelHttpResponse execute() throws IOException {
GenericJson refreshContents = new GenericJson();
refreshContents.setFactory(JSON_FACTORY);
refreshContents.put("access_token", accessToken);
refreshContents.put("expires_in", 3600000);
refreshContents.put("expires_in", 3600);
refreshContents.put("token_type", "Bearer");
String refreshText = refreshContents.toPrettyString();

Expand Down

0 comments on commit 2b661dd

Please sign in to comment.