mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-14 11:17:19 +03:00
Fix lint error
This commit is contained in:
parent
4e1957ca71
commit
197d430d15
@ -25,7 +25,7 @@ func getPlaylist(ds model.DataStore) http.HandlerFunc {
|
||||
constructor := func(ctx context.Context) rest.Repository {
|
||||
plsRepo := ds.Playlist(ctx)
|
||||
plsId := chi.URLParam(req, "playlistId")
|
||||
return plsRepo.(model.PlaylistRepository).Tracks(plsId)
|
||||
return plsRepo.Tracks(plsId)
|
||||
}
|
||||
|
||||
handler(constructor).ServeHTTP(res, req)
|
||||
|
Loading…
x
Reference in New Issue
Block a user