lastfm: rename scrobbleopts scrobbleoptions

This commit is contained in:
sentriz
2020-05-01 02:15:12 +01:00
parent 24212af42e
commit a541f97cd8
8 changed files with 18 additions and 12 deletions

View File

@@ -55,7 +55,7 @@ func (c *Controller) ServeScrobble(r *http.Request) *spec.Response {
Preload("Artist").
First(track, id)
// scrobble with above info
opts := lastfm.ScrobbleOpts{
opts := lastfm.ScrobbleOptions{
Track: track,
// clients will provide time in miliseconds, so use that or
// instead convert UnixNano to miliseconds