Files
navidrome/server/subsonic/system.go
2022-12-06 19:57:47 -05:00

18 lines
386 B
Go

package subsonic
import (
"net/http"
"github.com/navidrome/navidrome/server/subsonic/responses"
)
func (api *Router) Ping(_ *http.Request) (*responses.Subsonic, error) {
return newResponse(), nil
}
func (api *Router) GetLicense(_ *http.Request) (*responses.Subsonic, error) {
response := newResponse()
response.License = &responses.License{Valid: true}
return response, nil
}