Skip to content

Commit 38acf35

Browse files
author
Sourcery AI
committed
'Refactored by Sourcery'
1 parent d34d19d commit 38acf35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lms/lmsweb/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def confirm_email(user_id: int, token: str):
149149
return fail(404, f'The authentication code is invalid.')
150150

151151
if not user.role.is_unverified:
152-
return fail(403, f'User has been already confirmed.')
152+
return fail(403, 'User has been already confirmed.')
153153

154154
try:
155155
SERIALIZER.loads(

0 commit comments

Comments
 (0)