Skip to content

Commit

Permalink
Refactor get_auto_shared_with_list function in testimonial.py
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullai-t committed Oct 16, 2024
1 parent 194d0a8 commit bbe75d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/api/store/testimonial.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def get_auto_shared_with_list(testimonial):
The function collects these matching communities and returns a list of them. This list will be used to share the testimonial with those communities.
"""
if not testimonial or not testimonial.community:
print("No testimonial or community")
return []

testimonial_community = testimonial.community
Expand Down

0 comments on commit bbe75d7

Please sign in to comment.