There was an error while loading. Please reload this page.
1 parent c76fe26 commit 5f1c03aCopy full SHA for 5f1c03a
1 file changed
lib/GoogleSpreadsheet.js
@@ -67,7 +67,7 @@ class OAuthClient {
67
};
68
}
69
70
- getFreshAccessToken() {
+ async getFreshAccessToken() {
71
const isExpired = !this.creds.expiresAt || this.creds.expiresAt < Date.now() - this.refreshThreshold;
72
73
if (isExpired) {
0 commit comments