mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
Fix ManageBilling permission check (#1988)
This commit is contained in:
parent
227b725514
commit
1efb25608c
@ -362,7 +362,7 @@ namespace Bit.Core.Context
|
||||
|
||||
public async Task<bool> ManageBilling(Guid orgId)
|
||||
{
|
||||
var orgManagedByProvider = ProviderIdForOrg(orgId) != null;
|
||||
var orgManagedByProvider = await ProviderIdForOrg(orgId) != null;
|
||||
|
||||
return orgManagedByProvider
|
||||
? await ProviderUserForOrgAsync(orgId)
|
||||
|
Loading…
Reference in New Issue
Block a user