add void to async functions

This commit is contained in:
Nate 2025-07-07 21:57:49 -07:00
parent fbcc5a46b9
commit 87d0f94171

View file

@ -100,11 +100,11 @@ export class WorkOsAuthProvider implements AuthenticationProvider, Disposable {
this.secretStorage = new SecretStorage(context);
// Immediately refresh any existing sessions
this.refreshSessions();
void this.refreshSessions();
// Set up a regular interval to refresh tokens
this._refreshInterval = setInterval(() => {
this.refreshSessions();
void this.refreshSessions();
}, WorkOsAuthProvider.REFRESH_INTERVAL_MS);
}