Skip to content

Commit e224397

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 49662a7 commit e224397

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

backend/services/messaging/message_service.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,10 @@ def send_team_join_notification(
484484
team_link = MessageService.get_team_link(team_name, team_id, False)
485485
user_link = MessageService.get_user_link(from_username)
486486
message.subject = f"You have been added to team {team_link}"
487-
message.message = f"You have been added to the team {team_link} as {role} by {user_link}.\
487+
message.message = (
488+
f"You have been added to the team {team_link} as {role} by {user_link}.\
488489
Access the {team_link}'s page to view more info about this team."
490+
)
489491

490492
message.add_message()
491493
message.save()

backend/services/users/authentication_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
tm = TMAPIDecorators()
1515

1616
UNICODE_ASCII_CHARACTER_SET = (
17-
"abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789" "-_"
17+
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_"
1818
)
1919

2020

0 commit comments

Comments
 (0)