Merge pull request #3782 from tidusjar/bug/3752-discord-notifications

Fixed #3752
pull/3805/head
Jamie 4 years ago committed by GitHub
commit ff17117f89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -113,7 +113,8 @@ namespace Ombi.Notifications.Agents
{
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 @@ namespace Ombi.Notifications.Agents
}
}
var color = string.Empty;
string color = null;
if (model.Data.TryGetValue("RequestStatus", out var status))
{
if (status.HasValue())

Loading…
Cancel
Save