mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 21:17:37 +03:00
Move artwork id encoding to public package
This commit is contained in:
parent
13ba08157a
commit
e40da183bb
7 changed files with 97 additions and 62 deletions
|
@ -46,7 +46,7 @@ func (p *Router) handleImages(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
artId, err := artwork.DecodeArtworkID(id)
|
||||
artId, err := DecodeArtworkID(id)
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusBadRequest)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue