Skip to content

Commit

Permalink
Merge pull request #2268 from aswanthabam/dev
Browse files Browse the repository at this point in the history
feat(lcv2): give fullname and muid with attendees report
  • Loading branch information
aswanthabam authored Nov 5, 2024
2 parents 7ce1215 + 3dcbeac commit 1cf5706
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/dashboard/learningcircle/learningcircle_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,16 @@ def get(self, request, meet_id):
).get_failure_response()
attendees = CircleMeetingAttendees.objects.filter(
meet_id=circle_meeting, is_joined=True
)
).select_related("user_id")
return CustomResponse(
general_message="Report fetched successfully",
response={
"is_report_submitted": circle_meeting.is_report_submitted,
"report": circle_meeting.report_text,
"attendees": {
attendee.user_id_id: {
"full_name": attendee.user_id.full_name,
"muid": attendee.user_id.muid,
"is_lc_approved": attendee.is_lc_approved,
"report": attendee.report_text,
"report_link": attendee.report_link,
Expand Down

0 comments on commit 1cf5706

Please sign in to comment.