mirror of
https://github.com/bitwarden/server.git
synced 2025-07-18 08:00:59 -05:00
Changed all C# control flow block statements to include space between keyword and open paren
This commit is contained in:
@ -21,9 +21,9 @@ namespace Bit.Notifications
|
||||
{
|
||||
var currentContext = new CurrentContext();
|
||||
currentContext.Build(Context.User, _globalSettings);
|
||||
if(currentContext.Organizations != null)
|
||||
if (currentContext.Organizations != null)
|
||||
{
|
||||
foreach(var org in currentContext.Organizations)
|
||||
foreach (var org in currentContext.Organizations)
|
||||
{
|
||||
await Groups.AddToGroupAsync(Context.ConnectionId, $"Organization_{org.Id}");
|
||||
}
|
||||
@ -36,9 +36,9 @@ namespace Bit.Notifications
|
||||
{
|
||||
var currentContext = new CurrentContext();
|
||||
currentContext.Build(Context.User, _globalSettings);
|
||||
if(currentContext.Organizations != null)
|
||||
if (currentContext.Organizations != null)
|
||||
{
|
||||
foreach(var org in currentContext.Organizations)
|
||||
foreach (var org in currentContext.Organizations)
|
||||
{
|
||||
await Groups.RemoveFromGroupAsync(Context.ConnectionId, $"Organization_{org.Id}");
|
||||
}
|
||||
|
Reference in New Issue
Block a user