Skip to content

Commit

Permalink
fix: send correct status for scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Faraz Maqsood authored and Faraz32123 committed Feb 24, 2025
1 parent ecf5aee commit 2798f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ def _check_broken_links(task_instance, user_id, course_key_string, language):
"""
user = _validate_user(task_instance, user_id, language)

task_instance.status.set_state('Scanning')
task_instance.status.set_state(UserTaskStatus.IN_PROGRESS)
course_key = CourseKey.from_string(course_key_string)

url_list = _scan_course_for_links(course_key)
Expand Down

0 comments on commit 2798f28

Please sign in to comment.