@cosmetic Simplify ical ProductId code since adding properties (#2164)

pull/2165/head
James White 7 years ago committed by Leonardo Galli
parent 1d8eec42ef
commit 805927205c

@ -82,9 +82,10 @@ namespace NzbDrone.Api.Calendar
} }
var movies = _movieService.GetMoviesBetweenDates(start, end, unmonitored); var movies = _movieService.GetMoviesBetweenDates(start, end, unmonitored);
var calendar = new Ical.Net.Calendar(); var calendar = new Ical.Net.Calendar
{
calendar.ProductId = "-//radarr.video//Radarr//EN"; ProductId = "-//radarr.video//Radarr//EN"
};
var calendarName = "Radarr Movies Calendar"; var calendarName = "Radarr Movies Calendar";
calendar.AddProperty(new CalendarProperty("NAME", calendarName)); calendar.AddProperty(new CalendarProperty("NAME", calendarName));

Loading…
Cancel
Save