chore: python formatting

This commit is contained in:
Jun Siang Cheah committed 2024-03-31 22:07:43 +01:00
1 parent 150152ddbd
commit 0e3b7a11e3
2 files changed
+3 -3

No files matched your search

+1 -2
View File
@@ -122,8 +122,7 @@ class AuthsTable:
except:
return None
def authenticate_user_by_trusted_header(self,
email: str) -> Optional[UserModel]:
def authenticate_user_by_trusted_header(self, email: str) -> Optional[UserModel]:
log.info(f"authenticate_user_by_trusted_header: {email}")
try:
auth = Auth.get(Auth.email == email, Auth.active == True)