Fix tests and lint errors, plus a bit of refactor
This commit is contained in:
@@ -21,7 +21,7 @@ func (p *Router) handleImages(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
artId, err := DecodeArtworkID(id)
|
||||
artId, err := decodeArtworkID(id)
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusBadRequest)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user