diff --git a/src/Ombi.Notifications/Agents/DiscordNotification.cs b/src/Ombi.Notifications/Agents/DiscordNotification.cs index e1f0e78c5..71d0e298c 100644 --- a/src/Ombi.Notifications/Agents/DiscordNotification.cs +++ b/src/Ombi.Notifications/Agents/DiscordNotification.cs @@ -113,7 +113,8 @@ protected override async Task Send(NotificationMessage model, DiscordNotificatio { fields.Add(new DiscordField { name = "Requested By", value = alias, inline = true }); } - } else + } + else { if (model.Data.TryGetValue("RequestedUser", out var requestedUser)) { @@ -131,7 +132,7 @@ protected override async Task Send(NotificationMessage model, DiscordNotificatio } } - var color = string.Empty; + string color = null; if (model.Data.TryGetValue("RequestStatus", out var status)) { if (status.HasValue())