This commit is contained in:
Matt Tuchfarber
2019-03-20 10:52:10 -04:00
parent 634866dd0c
commit 510f877408

View File

@@ -643,6 +643,9 @@ class ReplaceUsernamesView(APIView):
)
def _replace_username(self, current_username, new_username):
"""
Replaces the current username with the new username in the forums service
"""
try:
# This API will be called after the regular LMS API, so the username in
# the DB will have already been updated to new_username