mirror of
https://github.com/bitwarden/jslib
synced 2025-12-22 19:23:24 +00:00
make logout callback async
This commit is contained in:
@@ -12,7 +12,7 @@ import { TokenService } from '../abstractions/token.service';
|
||||
|
||||
export class NodeApiService extends ApiService {
|
||||
constructor(tokenService: TokenService, platformUtilsService: PlatformUtilsService,
|
||||
logoutCallback: Function) {
|
||||
logoutCallback: (expired: boolean) => Promise<void>) {
|
||||
super(tokenService, platformUtilsService, logoutCallback);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user