diff --git a/apps/desktop/src/services/native-messaging.service.ts b/apps/desktop/src/services/native-messaging.service.ts index 3463cd4365..d4f465dca9 100644 --- a/apps/desktop/src/services/native-messaging.service.ts +++ b/apps/desktop/src/services/native-messaging.service.ts @@ -125,8 +125,7 @@ export class NativeMessagingService { switch (message.command) { case "biometricUnlock": { - // eslint-disable-next-line @typescript-eslint/no-misused-promises - if (!this.platformUtilService.supportsBiometric()) { + if (!(await this.platformUtilService.supportsBiometric())) { return this.send({ command: "biometricUnlock", response: "not supported" }, appId); }