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

Commit

Permalink
fix: ensure compatibility with plex 1.32.7.7484
Browse files Browse the repository at this point in the history
Co-Authored-By: salty <[email protected]>
  • Loading branch information
m-rots and saltydk committed Sep 16, 2023
1 parent ff17077 commit e5575d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion targets/plex/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (c apiClient) Libraries() ([]library, error) {

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

0 comments on commit e5575d5

Please sign in to comment.