Skip to content

Commit 5f1c03a

Browse files
committed
Fix missing async
1 parent c76fe26 commit 5f1c03a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/GoogleSpreadsheet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class OAuthClient {
6767
};
6868
}
6969

70-
getFreshAccessToken() {
70+
async getFreshAccessToken() {
7171
const isExpired = !this.creds.expiresAt || this.creds.expiresAt < Date.now() - this.refreshThreshold;
7272

7373
if (isExpired) {

0 commit comments

Comments
 (0)