Fixed the issue sending movies to Radarr #1513

Fixed typo #1524
pull/1526/head^2
Jamie.Rees 7 years ago
parent 9ae5ad0ecd
commit 43a78f0e3c

@ -53,7 +53,7 @@ namespace Ombi.Core
private async Task<MovieSenderResult> SendToRadarr(MovieRequests model, RadarrSettings settings) private async Task<MovieSenderResult> SendToRadarr(MovieRequests model, RadarrSettings settings)
{ {
var qualityToUse = int.Parse(settings.DefaultQualityProfile); var qualityToUse = int.Parse(settings.DefaultQualityProfile);
if (model.QualityOverride <= 0) if (model.QualityOverride > 0)
{ {
qualityToUse = model.QualityOverride; qualityToUse = model.QualityOverride;
} }

@ -42,7 +42,7 @@ namespace Ombi.Notifications.Agents
try try
{ {
var a = settings.Token; var a = settings.Token;
var b = settings.WebookId; var b = settings.WebHookId;
} }
catch (IndexOutOfRangeException) catch (IndexOutOfRangeException)
{ {
@ -164,7 +164,7 @@ namespace Ombi.Notifications.Agents
}; };
} }
await Api.SendMessage(discordBody, settings.WebookId, settings.Token); await Api.SendMessage(discordBody, settings.WebHookId, settings.Token);
} }
catch (Exception e) catch (Exception e)
{ {

@ -10,7 +10,7 @@ namespace Ombi.Settings.Settings.Models.Notifications
public string Username { get; set; } public string Username { get; set; }
[JsonIgnore] [JsonIgnore]
public string WebookId => SplitWebUrl(4); public string WebHookId => SplitWebUrl(4);
[JsonIgnore] [JsonIgnore]
public string Token => SplitWebUrl(5); public string Token => SplitWebUrl(5);

Loading…
Cancel
Save