Skip to content

Commit

Permalink
check content_html
Browse files Browse the repository at this point in the history
  • Loading branch information
zaknesler committed May 25, 2024
1 parent d781658 commit 1cc49ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/blend-db/src/repo/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl EntryRepo {
&self,
feed_uuid: &uuid::Uuid,
) -> DbResult<Vec<model::Entry>> {
sqlx::query_as::<_, model::Entry>("SELECT * FROM entries WHERE feed_uuid = ?1 AND content_scraped_html IS NULL AND scraped_at IS NULL")
sqlx::query_as::<_, model::Entry>("SELECT * FROM entries WHERE feed_uuid = ?1 AND content_html IS NOT NULL AND content_scraped_html IS NULL AND scraped_at IS NULL")
.bind(feed_uuid)
.fetch_all(&self.db)
.await
Expand Down

0 comments on commit 1cc49ae

Please sign in to comment.