(docs) user_api_key_auth

This commit is contained in:
ishaan-jaff 2024-01-23 14:30:19 -08:00
parent a05b64cb8c
commit 7ddaf345a0

View file

@ -411,7 +411,7 @@ async def user_api_key_auth(request: Request, api_key: str) -> UserAPIKeyAuth:
return UserAPIKeyAuth(api_key=api_key) return UserAPIKeyAuth(api_key=api_key)
raise Exception raise Exception
except: except:
raise Exception raise Exception("Failed Custom Authentication")
``` ```
### 2. Pass the filepath (relative to the config.yaml) ### 2. Pass the filepath (relative to the config.yaml)