From c7932606892b1338844cc18bce07cfbd37495bd0 Mon Sep 17 00:00:00 2001 From: Jacob Fink Date: Mon, 31 Jul 2023 13:13:29 -0400 Subject: [PATCH] [PM-2713] pr feedback --- src/Core/Services/CipherService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Core/Services/CipherService.cs b/src/Core/Services/CipherService.cs index 89003249d..d04479045 100644 --- a/src/Core/Services/CipherService.cs +++ b/src/Core/Services/CipherService.cs @@ -249,8 +249,7 @@ namespace Bit.Core.Services { try { - var hashKey = await _cryptoService.HasUserKeyAsync(); - if (!hashKey) + if (!await _cryptoService.HasUserKeyAsync()) { throw new Exception("No key."); }