Skip to content

Commit

Permalink
fix(lint): resolve golangci lint warning
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <git@mattglei.ch>
  • Loading branch information
gleich committed Jan 2, 2025
1 parent a4f8522 commit 0cf8a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/apis/applemusic/applemusic.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func Setup(router *chi.Mux) {

applemusicCache := cache.New("applemusic", data)
router.Get("/applemusic", applemusicCache.ServeHTTP())
router.Get("/applemusic/playlist/{id}", playlistEndpoint(*&applemusicCache))
router.Get("/applemusic/playlist/{id}", playlistEndpoint(applemusicCache))
router.Handle("/applemusic/ws", applemusicCache.ServeWS())
go applemusicCache.UpdatePeriodically(cacheUpdate, 30*time.Second)
lumber.Done("setup apple music cache")
Expand Down

0 comments on commit 0cf8a87

Please sign in to comment.