🐛 fix(utils.py): update API_KEY_NAME from "api-key" to "x-api-key" to align with naming conventions and improve clarity
This commit is contained in:
parent
d508a1407c
commit
0cd90bf133
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ from sqlmodel import Session
|
|||
|
||||
oauth2_login = OAuth2PasswordBearer(tokenUrl="api/v1/login")
|
||||
|
||||
API_KEY_NAME = "api-key"
|
||||
API_KEY_NAME = "x-api-key"
|
||||
|
||||
api_key_query = APIKeyQuery(
|
||||
name=API_KEY_NAME, scheme_name="API key query", auto_error=False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue