1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-02-02 11:34:39 +02:00

Fixed: Images for Connections using old branch name

This commit is contained in:
bakerboy448 2021-11-21 12:06:42 -06:00 committed by GitHub
parent a30ec0eb52
commit 5267e15c17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ namespace NzbDrone.Core.Notifications.Boxcar
.AddFormParameter("notification[title]", title) .AddFormParameter("notification[title]", title)
.AddFormParameter("notification[long_message]", message) .AddFormParameter("notification[long_message]", message)
.AddFormParameter("notification[source_name]", BuildInfo.AppName) .AddFormParameter("notification[source_name]", BuildInfo.AppName)
.AddFormParameter("notification[icon_url]", "https://raw.githubusercontent.com/Sonarr/Sonarr/phantom-develop/Logo/64.png") .AddFormParameter("notification[icon_url]", "https://raw.githubusercontent.com/Sonarr/Sonarr/develop/Logo/64.png")
.Build(); .Build();
_httpClient.Post(request); _httpClient.Post(request);

View File

@ -34,7 +34,7 @@ namespace NzbDrone.Core.Notifications.Discord
Author = new DiscordAuthor Author = new DiscordAuthor
{ {
Name = Settings.Author.IsNullOrWhiteSpace() ? Environment.MachineName : Settings.Author, Name = Settings.Author.IsNullOrWhiteSpace() ? Environment.MachineName : Settings.Author,
IconUrl = "https://raw.githubusercontent.com/Sonarr/Sonarr/phantom-develop/Logo/256.png" IconUrl = "https://raw.githubusercontent.com/Sonarr/Sonarr/develop/Logo/256.png"
}, },
Url = $"http://thetvdb.com/?tab=series&id={series.TvdbId}", Url = $"http://thetvdb.com/?tab=series&id={series.TvdbId}",
Description = "Episode Grabbed", Description = "Episode Grabbed",
@ -125,7 +125,7 @@ namespace NzbDrone.Core.Notifications.Discord
Author = new DiscordAuthor Author = new DiscordAuthor
{ {
Name = Settings.Author.IsNullOrWhiteSpace() ? Environment.MachineName : Settings.Author, Name = Settings.Author.IsNullOrWhiteSpace() ? Environment.MachineName : Settings.Author,
IconUrl = "https://raw.githubusercontent.com/Sonarr/Sonarr/phantom-develop/Logo/256.png" IconUrl = "https://raw.githubusercontent.com/Sonarr/Sonarr/develop/Logo/256.png"
}, },
Url = $"http://thetvdb.com/?tab=series&id={series.TvdbId}", Url = $"http://thetvdb.com/?tab=series&id={series.TvdbId}",
Description = isUpgrade ? "Episode Upgraded" : "Episode Imported", Description = isUpgrade ? "Episode Upgraded" : "Episode Imported",
@ -281,7 +281,7 @@ namespace NzbDrone.Core.Notifications.Discord
Author = new DiscordAuthor Author = new DiscordAuthor
{ {
Name = Settings.Author.IsNullOrWhiteSpace() ? Environment.MachineName : Settings.Author, Name = Settings.Author.IsNullOrWhiteSpace() ? Environment.MachineName : Settings.Author,
IconUrl = "https://raw.githubusercontent.com/Sonarr/Sonarr/phantom-develop/Logo/256.png" IconUrl = "https://raw.githubusercontent.com/Sonarr/Sonarr/develop/Logo/256.png"
}, },
Title = healthCheck.Source.Name, Title = healthCheck.Source.Name,
Description = healthCheck.Message, Description = healthCheck.Message,