mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
@cosmetic Simplify ical ProductId code since adding properties (#2164)
This commit is contained in:
parent
1d8eec42ef
commit
805927205c
@ -82,9 +82,10 @@ private Response GetCalendarFeed()
|
||||
}
|
||||
|
||||
var movies = _movieService.GetMoviesBetweenDates(start, end, unmonitored);
|
||||
var calendar = new Ical.Net.Calendar();
|
||||
|
||||
calendar.ProductId = "-//radarr.video//Radarr//EN";
|
||||
var calendar = new Ical.Net.Calendar
|
||||
{
|
||||
ProductId = "-//radarr.video//Radarr//EN"
|
||||
};
|
||||
|
||||
var calendarName = "Radarr Movies Calendar";
|
||||
calendar.AddProperty(new CalendarProperty("NAME", calendarName));
|
||||
|
Loading…
Reference in New Issue
Block a user