mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 11:38:32 -07:00
Merge pull request #3782 from tidusjar/bug/3752-discord-notifications
Fixed #3752
This commit is contained in:
commit
ff17117f89
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