Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaraa authored Jun 9, 2024
1 parent 76fb1f4 commit 1bd54a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/history/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (h *Service) Get(profileId, page uint) ([]entities.Song, error) {
s.AddedAt = fmt.Sprintf("Played %s - %s", times(songsFreqs[songs[i].YtId]), songs[i].AddedAt)
songsFr = append(songsFr, s)
if songsFreqs[songs[i].YtId] > 1 {
i += songsFreqs[songs[i].YtId]-1
i += songsFreqs[songs[i].YtId]
}
}

Expand Down

0 comments on commit 1bd54a1

Please sign in to comment.