Skip to content

Commit

Permalink
Merge pull request mauforonda#1 from cdzombak/main
Browse files Browse the repository at this point in the history
Display only public posts in the digest
  • Loading branch information
mauforonda authored Jan 21, 2023
2 parents 82e698b + 85e8ed9 commit 48803b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def fetch_posts_and_boosts(
filtered_response = response

for post in filtered_response:
if post["visibility"] != "public":
continue

total_posts_seen += 1

boost = False
Expand Down

0 comments on commit 48803b4

Please sign in to comment.