faizulislamfair commited on
Commit
9b330cf
·
1 Parent(s): 8ed160b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ api_key_header = APIKeyHeader(name=API_KEY_NAME, auto_error=False)
14
 
15
 
16
  async def get_api_key(api_key: str = Depends(api_key_header)):
17
- # print(f"Received API Key: {api_key}")
18
- # print(f"Expected API Key from environment: {API_KEY}")
19
  # if api_key != API_KEY:
20
  # raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail="Invalid API Key")
21
  return api_key
 
14
 
15
 
16
  async def get_api_key(api_key: str = Depends(api_key_header)):
17
+ print(f"Received API Key: {api_key}")
18
+ print(f"Expected API Key from environment: {API_KEY}")
19
  # if api_key != API_KEY:
20
  # raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail="Invalid API Key")
21
  return api_key