Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit e5575d5

Browse files
m-rotssaltydk
andcommitted
fix: ensure compatibility with plex 1.32.7.7484
Co-Authored-By: salty <[email protected]>
1 parent ff17077 commit e5575d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/plex/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func (c apiClient) Libraries() ([]library, error) {
148148

149149
func (c apiClient) Scan(path string, libraryID int) error {
150150
reqURL := autoscan.JoinURL(c.baseURL, "library", "sections", strconv.Itoa(libraryID), "refresh")
151-
req, err := http.NewRequest("PUT", reqURL, nil)
151+
req, err := http.NewRequest("GET", reqURL, nil)
152152
if err != nil {
153153
return fmt.Errorf("failed creating scan request: %v: %w", err, autoscan.ErrFatal)
154154
}

0 commit comments

Comments
 (0)