1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-12 05:13:58 -05:00

Changed all C# control flow block statements to include space between keyword and open paren

This commit is contained in:
Chad Scharf
2020-03-27 14:36:37 -04:00
parent 943aea9a12
commit 9800b752c0
243 changed files with 2258 additions and 2258 deletions

View File

@ -56,7 +56,7 @@ namespace Bit.Core.Utilities
_memoryCache.TryGetValue(key, out int blockedCount);
blockedCount++;
if(blockedCount > 10)
if (blockedCount > 10)
{
_blockIpService.BlockIpAsync(identity.ClientIp, false);
_logger.LogInformation(Constants.BypassFiltersEventId, null,
@ -73,18 +73,18 @@ namespace Bit.Core.Utilities
private string GetRequestInfo(HttpContext httpContext)
{
if(httpContext == null || httpContext.Request == null)
if (httpContext == null || httpContext.Request == null)
{
return null;
}
var s = string.Empty;
foreach(var header in httpContext.Request.Headers)
foreach (var header in httpContext.Request.Headers)
{
s += $"Header \"{header.Key}\": {header.Value} \n";
}
foreach(var query in httpContext.Request.Query)
foreach (var query in httpContext.Request.Query)
{
s += $"Query \"{query.Key}\": {query.Value} \n";
}