Skip to content

Commit

Permalink
feat: include recently played in serve http func
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <[email protected]>
  • Loading branch information
gleich committed Jan 3, 2025
1 parent 4500445 commit c3dfa1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/apis/applemusic/applemusic.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func serveHTTP(c *cache.Cache[cacheData]) http.HandlerFunc {
},
)
}
data.RecentlyPlayed = c.Data.RecentlyPlayed

err := json.NewEncoder(w).Encode(data)
c.DataMutex.RUnlock()
Expand Down

0 comments on commit c3dfa1f

Please sign in to comment.