Skip to content

Commit d270225

Browse files
committed
logout callback optionnal
1 parent 29d0786 commit d270225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/src/accounts-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ export class AccountsClient {
383383
return this.getState().get('isLoading');
384384
}
385385

386-
public async logout(callback: (err?: Error) => void): Promise<void> {
386+
public async logout(callback?: (err?: Error) => void): Promise<void> {
387387
try {
388388
const { accessToken } = await this.tokens();
389389

0 commit comments

Comments
 (0)