mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 16:22:55 -07:00
Fixed #3752
This commit is contained in:
parent
10db8611ca
commit
c9331eb2ee
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue