Skip to content

Commit 8a84da7

Browse files
committed
fix: token verification route is GET, not POST
1 parent b76fe89 commit 8a84da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/desktop/studio_server/provider_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ async def connect_bedrock(key_data: dict):
11561156
async def connect_kiln_copilot(key: str):
11571157
base_url = os.environ.get("KILN_SERVER_BASE_URL", "https://api.kiln.tech")
11581158
async with httpx.AsyncClient() as client:
1159-
response = await client.post(
1159+
response = await client.get(
11601160
f"{base_url}/v1/verify_api_key",
11611161
headers={"Authorization": f"Bearer {key}"},
11621162
timeout=20,

0 commit comments

Comments
 (0)