mirror of
https://github.com/algora-io/tv.git
synced 2024-11-26 01:00:20 +02:00
filter blurbs before generating thumbnails
This commit is contained in:
parent
16891643cc
commit
b52ac8eee9
@ -13,6 +13,7 @@ defmodule Algora.Admin.GenerateBlurbThumbnails do
|
||||
Repo.all(
|
||||
from pr in ProductReview,
|
||||
join: v in assoc(pr, :video),
|
||||
where: is_nil(pr.thumbnail_url),
|
||||
preload: [video: v]
|
||||
)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user