Make all Subsonic helper functions private

This commit is contained in:
Deluan
2020-08-13 22:11:18 -04:00
committed by Deluan Quintão
parent 22f34b3347
commit c271aa24d1
13 changed files with 150 additions and 150 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ func HGone(r chi.Router, path string) {
}
func SendError(w http.ResponseWriter, r *http.Request, err error) {
response := NewResponse()
response := newResponse()
code := responses.ErrorGeneric
if e, ok := err.(SubsonicError); ok {
code = e.code