Skip to content

Commit

Permalink
feat(subsonic): make the v param optional
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-doherty committed May 18, 2022
1 parent 64d8e01 commit 50e2818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/ctrlsubsonic/middleware.go
Expand Up @@ -36,7 +36,7 @@ func (c *Controller) WithParams(next http.Handler) http.Handler {

func (c *Controller) WithRequiredParams(next http.Handler) http.Handler {
requiredParameters := []string{
"u", "v", "c",
"u", "c",
}
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
params := r.Context().Value(CtxParams).(params.Params)
Expand Down

0 comments on commit 50e2818

Please sign in to comment.