1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 12:32:31 +01:00

Fixed updating for plex server

This commit is contained in:
Mark McDowall 2014-04-16 10:09:57 -07:00
parent a2a2ad38b0
commit 40c2c0b533

View File

@ -41,7 +41,7 @@ public List<PlexSection> GetTvSections(PlexServerSettings settings)
public void Update(int sectionId, PlexServerSettings settings)
{
var resource = String.Format("library/sections/{2}/refresh");
var resource = String.Format("library/sections/{0}/refresh", sectionId);
var request = GetPlexServerRequest(resource, Method.GET, settings);
var client = GetPlexServerClient(settings);