Skip to content

Commit d7defba

Browse files
committed
remove prints
1 parent 30b4c1c commit d7defba

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

code/function/fastapp/health/validate_request.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ async def verify_health_auth_header(x_ms_auth_internal_token: Annotated[str, Hea
1212
"""
1313
website_auth_encryption_key = settings.WEBSITE_AUTH_ENCRYPTION_KEY
1414
hash = base64.b64encode(sha256(website_auth_encryption_key.encode('utf-8')).digest()).decode('utf-8')
15-
print("Tokens are:")
16-
print(hash)
17-
print(x_ms_auth_internal_token)
1815
if hash != x_ms_auth_internal_token:
1916
raise HTTPException(status_code=400, detail="x-ms-auth-internal-token is invalid")
2017
else:

0 commit comments

Comments
 (0)