mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 05:37:05 +02:00
Code style: All uppercase acronyms URL, ISRC, ID, HTTP
This commit is contained in:
parent
39b31fc664
commit
d51c97c648
26 changed files with 137 additions and 137 deletions
|
@ -92,8 +92,8 @@ func (i HistoryItem) AsListen() models.Listen {
|
|||
PlaybackDuration: time.Duration(i.MillisecondsPlayed * int(time.Millisecond)),
|
||||
UserName: i.UserName,
|
||||
}
|
||||
if trackUrl, err := formatSpotifyUri(i.SpotifyTrackUri); err != nil {
|
||||
listen.AdditionalInfo["spotify_id"] = trackUrl
|
||||
if trackURL, err := formatSpotifyUri(i.SpotifyTrackUri); err != nil {
|
||||
listen.AdditionalInfo["spotify_id"] = trackURL
|
||||
}
|
||||
return listen
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue