Skip to content

Commit

Permalink
fix: timeout while scrobbling to Plaxt
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyXiang committed Mar 11, 2022
1 parent 281ea62 commit 52d4597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/plex.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func (c *PlexClient) syncTimelineWithPlaxt(r *http.Request, user *plexUser) {
},
}
b, _ := json.Marshal(webhook)
resp, err := c.client.HTTPClient.Post(c.plaxtUrl, "application/json", bytes.NewBuffer(b))
resp, err := c.client.DownloadClient.Post(c.plaxtUrl, "application/json", bytes.NewBuffer(b))
if err != nil {
common.GetLogger().Printf("Failed on sending webhook to Plaxt: %s", err.Error())
return
Expand Down

0 comments on commit 52d4597

Please sign in to comment.