diff --git a/cloudrun-malware-scanner/gcs-proxy-server.js b/cloudrun-malware-scanner/gcs-proxy-server.js index 0c846078..0bd6f395 100644 --- a/cloudrun-malware-scanner/gcs-proxy-server.js +++ b/cloudrun-malware-scanner/gcs-proxy-server.js @@ -48,7 +48,7 @@ async function accessTokenRefresh() { new Date().getTime() + TOKEN_REFRESH_THRESHOLD_MILLIS) { accessToken = await googleAuth.getAccessToken(); logger.info(`Access token expires at ${ - new Date(client.credentials.expiry_date).toISOString()}`); + new Date(client.credentials.expiry_date).toISOString()}`); } const nextCheckDate = new Date(client.credentials.expiry_date - TOKEN_REFRESH_THRESHOLD_MILLIS);