Skip to content

Commit

Permalink
fix: User retirement 404 for state RETIRING_FORUMS
Browse files Browse the repository at this point in the history
  • Loading branch information
DmytroAlipov committed Oct 26, 2023
1 parent 6517d84 commit 9259411
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lms/djangoapps/discussion/rest_api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@
CourseView.as_view(),
name="discussion_course"
),
path('v1/accounts/retire_forum', RetireUserView.as_view(), name="retire_discussion_user"),
re_path(
r"^v1/accounts/retire_forum/?$",
RetireUserView.as_view(),
name="retire_discussion_user"
),
path('v1/accounts/replace_username', ReplaceUsernamesView.as_view(), name="replace_discussion_username"),
re_path(
fr"^v1/course_topics/{settings.COURSE_ID_PATTERN}",
Expand Down

0 comments on commit 9259411

Please sign in to comment.