Skip to content

Commit

Permalink
Merge pull request #26 from ts-tech-repo/features/assessment-tracker
Browse files Browse the repository at this point in the history
indentation error removed
  • Loading branch information
krishna-ts authored Jul 11, 2024
2 parents b2ba11e + 1188f7c commit eb97ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/course_home_api/assessments/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def to_representation(self, instance):
# date_block['due_date'] = self.convert_to_user_timezone(date_block['date'], user_timezone)
# if 'start_date' in date_block:
# date_block['start_date'] = self.convert_to_user_timezone(date_block['start_date'], user_timezone)
all_date_blocks.extend(course['date_blocks'])
all_date_blocks.extend(course['date_blocks'])

# Filter and sort date_blocks by 'date' field
filtered_sorted_date_blocks = sorted(all_date_blocks, key=lambda x: x['date'])
Expand Down

0 comments on commit eb97ccd

Please sign in to comment.