Fix originally published at filter

This commit is contained in:
Chocobozzz 2023-11-10 14:45:52 +01:00
parent 6866717bcd
commit 3f6eb26a8d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ async function queryVideos (search: VideosSearchQuery) {
filter.push({
range: {
originallyPublishedAt: {
gte: search.startDate
gte: search.originallyPublishedStartDate
}
}
})
@ -69,7 +69,7 @@ async function queryVideos (search: VideosSearchQuery) {
filter.push({
range: {
originallyPublishedAt: {
lte: search.endDate
lte: search.originallyPublishedEndDate
}
}
})