Skip to content

Commit 19b06af

Browse files
author
Eric Koleda
committed
Fix reference to refresh() method. Fixes googleworkspace#11.
1 parent 0d68522 commit 19b06af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Service.gs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Service_.prototype.hasAccess = function() {
264264
var now = getTimeInSeconds_(new Date());
265265
if (expires_time - now < Service_.EXPIRATION_BUFFER_SECONDS_) {
266266
if (token.refresh_token) {
267-
this.refresh_();
267+
this.refresh();
268268
} else {
269269
return false;
270270
}

0 commit comments

Comments
 (0)