Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Fix wrong method call when flairing Reddit post
Browse files Browse the repository at this point in the history
  • Loading branch information
TimJentzsch committed Oct 23, 2022
1 parent f5e148e commit 439b32f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blossom/api/slack/actions/unclaim.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,5 @@ def _process_unclaim_cancel(

def _unclaim_reddit_flair(submission: Submission) -> None:
"""Update the Reddit flair of the submission to indicate that it's unclaimed."""
r_tor_submission: SubmissionModeration = REDDIT.submission(submission.tor_url).mod
r_tor_submission.flair.select(flair_template_id=UNCLAIM_REDDIT_FLAIR_ID)
r_tor_submission: SubmissionModeration = REDDIT.submission(submission.tor_url)
r_tor_submission.flair(flair_template_id=UNCLAIM_REDDIT_FLAIR_ID)

0 comments on commit 439b32f

Please sign in to comment.