Added radio filter

This commit is contained in:
dbroqua 2020-01-07 16:33:03 +01:00
parent 95ee015b36
commit 19da44f781

View file

@ -73,6 +73,7 @@ class When extends Queries {
const songs = [] const songs = []
this.models.Histories this.models.Histories
.find({ .find({
radio: process.env.RADIO_ALIAS,
createdAt: this.filter.createdAt createdAt: this.filter.createdAt
}) })
.sort({ .sort({