mirror of
https://github.com/bitwarden/server.git
synced 2024-11-24 12:35:25 +01:00
no need to check values
This commit is contained in:
parent
cbd0f15224
commit
e6ee23fbe8
@ -179,11 +179,6 @@ namespace Bit.Admin.HostedServices
|
|||||||
|
|
||||||
foreach(var rule in listResponse.Result)
|
foreach(var rule in listResponse.Result)
|
||||||
{
|
{
|
||||||
if(rule.Configuration?.Value != message)
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
await DeleteAccessRuleAsync(rule.Id);
|
await DeleteAccessRuleAsync(rule.Id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user