Skip to content

Commit 960c1f1

Browse files
committed
fix(cache): fix the parameter name in query string
when mark as watched/unwatched
1 parent ceab5d5 commit 960c1f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handler/plex.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func (c *PlexClient) ServeHTTP(w http.ResponseWriter, r *http.Request) {
9393
query := r.URL.Query()
9494
switch path {
9595
case "/:/scrobble", "/:/unscrobble":
96-
go clearCachedMetadata(query.Get("ratingKey"), r.Header.Get(headerToken))
96+
go clearCachedMetadata(query.Get("key"), r.Header.Get(headerToken))
9797
case "/:/timeline":
9898
go c.syncTimelineWithPlaxt(r)
9999
}

0 commit comments

Comments
 (0)