Skip to content

Commit

Permalink
Merge pull request #33025 from DmytroAlipov/fix-user-retirement-palm
Browse files Browse the repository at this point in the history
fix: User retirement 404 for state RETIRING_FORUMS
  • Loading branch information
cmltaWt0 authored Oct 27, 2023
2 parents 6517d84 + 9259411 commit 96ec8d0
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 96ec8d0

Please sign in to comment.