Skip to content

Commit 74ec882

Browse files
committed
fix auth
1 parent 1ce1ac2 commit 74ec882

File tree

1 file changed

+1
-1
lines changed
  • agentops/client/api/versions

1 file changed

+1
-1
lines changed

agentops/client/api/versions/v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(self, endpoint: str):
2929
def fetch_auth_token(self, api_key: str) -> AuthTokenResponse:
3030
path = "/v3/auth/token"
3131
data = {"api_key": api_key}
32-
headers = self.prepare_headers({"X-API-Key": api_key})
32+
headers = self.prepare_headers()
3333

3434
r = self.post(path, data, headers)
3535

0 commit comments

Comments
 (0)