Fixed bug on duplicate song
This commit is contained in:
parent
92825ab201
commit
904b697574
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@ class ArtistSong {
|
|||
saveCurrent (value) {
|
||||
// Find if previous song was the same (on bot reload)
|
||||
this.models.Histories
|
||||
.find({})
|
||||
.find({
|
||||
radio: value.radio
|
||||
})
|
||||
.sort({
|
||||
createdAt: 'desc'
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue