From fcba83e8dbbaf07d2b4a93a71eae12b98f078ed7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:45:31 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- backend/services/messaging/message_service.py | 4 +++- backend/services/users/authentication_service.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/services/messaging/message_service.py b/backend/services/messaging/message_service.py index ff002aa3e9..cfe93cfb03 100644 --- a/backend/services/messaging/message_service.py +++ b/backend/services/messaging/message_service.py @@ -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() diff --git a/backend/services/users/authentication_service.py b/backend/services/users/authentication_service.py index 93fbd3852b..4223348dbd 100644 --- a/backend/services/users/authentication_service.py +++ b/backend/services/users/authentication_service.py @@ -14,7 +14,7 @@ tm = TMAPIDecorators() UNICODE_ASCII_CHARACTER_SET = ( - "abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789" "-_" + "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_" )