Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 26, 2024
1 parent f723768 commit 9734ecc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"filename": "static/js/constants.js",
"hashed_secret": "f99d98e85f9064a9b39c10c0d10fa2151df4a764",
"is_verified": false,
"line_number": 122
"line_number": 123
}
],
"static/js/lib/auth.js": [
Expand Down Expand Up @@ -277,5 +277,5 @@
}
]
},
"generated_at": "2024-05-22T09:32:37Z"
"generated_at": "2024-05-26T20:46:43Z"
}
5 changes: 2 additions & 3 deletions users/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@
"Full name can not contain HTML or URL. Please try a different one."
)

OPENEDX_NAME_VALIDATION_MSGS_MAP = {
"Enter a valid name": NAME_CONTAINS_HTML_URL_MSG
}
OPENEDX_NAME_VALIDATION_MSGS_MAP = {"Enter a valid name": NAME_CONTAINS_HTML_URL_MSG}


class LegalAddressSerializer(serializers.ModelSerializer):
"""Serializer for legal address"""
Expand Down

0 comments on commit 9734ecc

Please sign in to comment.