Skip to content

Commit

Permalink
fix: fixed pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jawad-khan committed Feb 26, 2025
1 parent bcafa25 commit 747f5aa
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,10 @@ def send_reported_content_notification(self):
self._send_course_wide_notification("content_reported", audience_filters, context)

def _populate_context_with_ids_for_mobile(self, context, notification_type):
"""
Populate notification context with attributes required by mobile apps.
"""

context['thread_id'] = self.thread.id
context['topic_id'] = self.thread.commentable_id

Expand Down

0 comments on commit 747f5aa

Please sign in to comment.