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 Jan 13, 2025
1 parent 49662a7 commit e224397
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion backend/services/messaging/message_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,10 @@ def send_team_join_notification(
team_link = MessageService.get_team_link(team_name, team_id, False)
user_link = MessageService.get_user_link(from_username)
message.subject = f"You have been added to team {team_link}"
message.message = f"You have been added to the team {team_link} as {role} by {user_link}.\
message.message = (
f"You have been added to the team {team_link} as {role} by {user_link}.\
Access the {team_link}'s page to view more info about this team."
)

message.add_message()
message.save()
Expand Down
2 changes: 1 addition & 1 deletion backend/services/users/authentication_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
tm = TMAPIDecorators()

UNICODE_ASCII_CHARACTER_SET = (
"abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789" "-_"
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_"
)


Expand Down

0 comments on commit e224397

Please sign in to comment.