undo x api key header description - it's breaking precommit (#2367)

This commit is contained in:
Shuchang Zheng
2025-05-16 16:26:36 -07:00
committed by GitHub
parent 343894d7a4
commit 1da95bee93
2 changed files with 9 additions and 36 deletions

View File

@@ -24,10 +24,7 @@ ALGORITHM = "HS256"
async def get_current_org(
x_api_key: Annotated[
str | None,
Header(None, description='Skyvern API key for your organization. You can find it in Skyvern "Settings" page.'),
] = None,
x_api_key: Annotated[str | None, Header()] = None,
authorization: Annotated[str | None, Header()] = None,
) -> Organization:
if not x_api_key and not authorization: