mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 09:02:48 -05:00
Changed all C# control flow block statements to include space between keyword and open paren
This commit is contained in:
@ -31,10 +31,10 @@ namespace Bit.Notifications
|
||||
[SelfHosted(SelfHostedOnly = true)]
|
||||
public async Task PostSend()
|
||||
{
|
||||
using(var reader = new StreamReader(Request.Body, Encoding.UTF8))
|
||||
using (var reader = new StreamReader(Request.Body, Encoding.UTF8))
|
||||
{
|
||||
var notificationJson = await reader.ReadToEndAsync();
|
||||
if(!string.IsNullOrWhiteSpace(notificationJson))
|
||||
if (!string.IsNullOrWhiteSpace(notificationJson))
|
||||
{
|
||||
await HubHelpers.SendNotificationToHubAsync(notificationJson, _hubContext);
|
||||
}
|
||||
|
Reference in New Issue
Block a user