Skip to content

Commit

Permalink
🧹 chore: Removed paste_summary as it will be deprecated soon
Browse files Browse the repository at this point in the history
  • Loading branch information
DevaOnBreaches committed Jun 10, 2024
1 parent 46b3b11 commit 11bef0d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1293,13 +1293,6 @@ def get_summary_and_metrics(breach_record, paste_record):
breach_summary = {"site": site_name}
exposed_breaches = get_breaches(site_name)
breach_metrics = get_breaches_metrics(site_name)

if paste_record:
tweet_id_str = str(paste_record["tweet_id"].decode("utf-8"))
paste_summary = {"cnt": paste_record["cnt"], "tweet_id": tweet_id_str}
exposed_pastes = get_pastes(tweet_id_str)
paste_metrics = get_pastes_metrics(tweet_id_str)

return (
breach_summary,
paste_summary,
Expand Down

0 comments on commit 11bef0d

Please sign in to comment.