add void to async functions
This commit is contained in:
parent
fbcc5a46b9
commit
87d0f94171
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue