Skip to content

Commit 44adc9e

Browse files
committed
revert unnecessary change to email
1 parent 04cdee6 commit 44adc9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/btrixcloud/invites.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ async def invite_user(
214214
created=dt_now(),
215215
role=invite.role if hasattr(invite, "role") else UserRole.VIEWER,
216216
# URL decode email address just in case
217-
email=EmailStr(urllib.parse.unquote(invite.email)),
217+
email=urllib.parse.unquote(invite.email),
218218
inviterEmail=user.email,
219219
fromSuperuser=user.is_superuser,
220220
tokenHash=get_hash(invite_token),

0 commit comments

Comments
 (0)