mirror of
https://github.com/bitwarden/server
synced 2025-12-16 08:13:33 +00:00
no need to check values
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user