mirror of https://github.com/lidarr/Lidarr
Fixed updating for plex server
This commit is contained in:
parent
a2a2ad38b0
commit
40c2c0b533
|
@ -41,7 +41,7 @@ namespace NzbDrone.Core.Notifications.Plex
|
||||||
|
|
||||||
public void Update(int sectionId, 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 request = GetPlexServerRequest(resource, Method.GET, settings);
|
||||||
var client = GetPlexServerClient(settings);
|
var client = GetPlexServerClient(settings);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue