gruhit-patel commited on
Commit
194fadc
1 Parent(s): ed9937c

minor bug fix

Browse files
Files changed (1) hide show
  1. main.py +0 -2
main.py CHANGED
@@ -12,8 +12,6 @@ oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
12
 
13
  # Function to check of the incoming API call is from valid host or not
14
  def api_key_auth(api_key:str = Depends(oauth2_scheme)):
15
- print(f'User sent API: {api_key}')
16
- print(f'Auth API_KEY: {API_KEY}')
17
  if api_key != API_KEY:
18
  raise HTTPException(
19
  status_code = status.HTTP_401_UNAUTHORIZED,
 
12
 
13
  # Function to check of the incoming API call is from valid host or not
14
  def api_key_auth(api_key:str = Depends(oauth2_scheme)):
 
 
15
  if api_key != API_KEY:
16
  raise HTTPException(
17
  status_code = status.HTTP_401_UNAUTHORIZED,