Skip to content

Commit

Permalink
Merge pull request #77 from edly-io/tai/EDLY-6132
Browse files Browse the repository at this point in the history
Fix course invite flag issue - EDLY-6132
  • Loading branch information
taimoor-ahmed-1 committed Feb 14, 2024
2 parents 8bde8db + 135a14b commit fa3e865
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion course_discovery/apps/course_metadata/data_loaders/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ def format_course_run_data(self, body, course=None):
'hidden': body.get('hidden', False),
'license': body.get('license') or '', # license cannot be None
'title_override': body['name'], # we support Studio edits, even though Publisher also owns titles
'pacing_type': self.get_pacing_type(body)
'pacing_type': self.get_pacing_type(body),
'invite_only': body.get('invitation_only', False),
}

if not self.partner.uses_publisher:
Expand Down

0 comments on commit fa3e865

Please sign in to comment.