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 @@ namespace NzbDrone.Core.Notifications.Plex
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);