Skip to content

Commit

Permalink
fix param
Browse files Browse the repository at this point in the history
  • Loading branch information
LumePart committed Jan 1, 2025
1 parent 3d3e375 commit e86e855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subsonic.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func getDiscoveryPlaylist(cfg Config) ([]string, error) {
}

func updSubsonicPlaylist(cfg Config, ID, comment string) error {
reqParam := fmt.Sprintf("updatePlaylist?id=%s&comment=%s", ID, url.QueryEscape(comment))
reqParam := fmt.Sprintf("updatePlaylist?playlistId=%s&comment=%s",ID, url.QueryEscape(comment))

if _, err := subsonicRequest(reqParam, cfg); err != nil {
return err
Expand Down

0 comments on commit e86e855

Please sign in to comment.