Fix typos and improve log messages

pull/10325/head
shangchenglumetro 7 months ago committed by GitHub
parent 5898eea3d0
commit c278ffd8a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -100,7 +100,7 @@ namespace NzbDrone.Core.Movies.AlternativeTitles
public void HandleAsync(MoviesDeletedEvent message) public void HandleAsync(MoviesDeletedEvent message)
{ {
// TODO hanlde metadata delete instead of movie delete // TODO handle metadata delete instead of movie delete
_titleRepo.DeleteForMovies(message.Movies.Select(m => m.MovieMetadataId).ToList()); _titleRepo.DeleteForMovies(message.Movies.Select(m => m.MovieMetadataId).ToList());
} }
} }

@ -72,7 +72,7 @@ namespace NzbDrone.Core.Movies.Translations
public void HandleAsync(MoviesDeletedEvent message) public void HandleAsync(MoviesDeletedEvent message)
{ {
// TODO hanlde metadata delete instead of movie delete // TODO handle metadata delete instead of movie delete
_translationRepo.DeleteForMovies(message.Movies.Select(m => m.MovieMetadataId).ToList()); _translationRepo.DeleteForMovies(message.Movies.Select(m => m.MovieMetadataId).ToList());
} }
} }

@ -34,7 +34,7 @@ namespace NzbDrone.Core.Notifications.Mailgun
{ {
if (ex.Response.StatusCode == HttpStatusCode.Unauthorized) if (ex.Response.StatusCode == HttpStatusCode.Unauthorized)
{ {
_logger.Error("Unathorized - ApiKey is invalid"); _logger.Error("Unauthorized - ApiKey is invalid");
throw new MailgunException("Unauthorized - ApiKey is invalid"); throw new MailgunException("Unauthorized - ApiKey is invalid");
} }

@ -38,7 +38,7 @@ namespace Radarr.Api.V3
Tags = definition.Tags, Tags = definition.Tags,
Fields = SchemaBuilder.ToSchema(definition.Settings), Fields = SchemaBuilder.ToSchema(definition.Settings),
// radarr/supported is an disambagation page. the # should be a header on the page with appropiate details/link // radarr/supported is an disambiguation page. the # should be a header on the page with appropriate details/link
InfoLink = string.Format("https://wiki.servarr.com/radarr/supported#{0}", InfoLink = string.Format("https://wiki.servarr.com/radarr/supported#{0}",
definition.Implementation.ToLower()) definition.Implementation.ToLower())
}; };

Loading…
Cancel
Save