1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-04 09:33:16 +00:00

[PM-2713] revert feedback for build

This commit is contained in:
Jacob Fink
2023-07-31 17:09:47 -04:00
parent 89a9185b20
commit 3e87d74061

View File

@@ -288,11 +288,11 @@ namespace Bit.Core.Services
return null;
}
var orgKeys = await GetOrgKeysAsync();
if (orgKeys?.TryGetValue(orgId, out var orgKey) == true)
if (orgKeys == null || !orgKeys.ContainsKey(orgId))
{
return orgKey;
return null;
}
return null;
return orgKeys[orgId];
}
public Task<Dictionary<string, OrgKey>> GetOrgKeysAsync()