Fixed bug (again)

This commit is contained in:
dbroqua 2020-01-07 16:29:17 +01:00
parent 8df18880cb
commit 95ee015b36

View file

@ -72,7 +72,9 @@ class When extends Queries {
const artists = []
const songs = []
this.models.Histories
.find(this.filter)
.find({
createdAt: this.filter.createdAt
})
.sort({
artist: 'desc'
})