Skip to content

Commit

Permalink
commenter_id is not there in model_common_fields of commentlib (for f…
Browse files Browse the repository at this point in the history
…eatured comment email)
  • Loading branch information
Anjali Pardeshi committed Dec 3, 2019
1 parent a08673b commit a6ee891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def send_comment_notification(commenter_email, subject, template, template_data)
@signals.comment_approved.connect
@signals.comment_featured.connect
def on_comment_action(action, comment):
commenter = memberlib.get(comment['commenter_id'])
commenter = memberlib.get(comment['commenter']['id'])
commenter_email = commenter['email']

asset = assetlib.get(comment['asset'])
Expand Down

0 comments on commit a6ee891

Please sign in to comment.