mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
Merge remote-tracking branch 'origin/rip/api-callers-to-v1'
This commit is contained in:
@@ -90,7 +90,7 @@ class AsyncKMSClient:
|
||||
# Universal Auth
|
||||
if auth.universal_auth:
|
||||
response = await self.http.post(
|
||||
"/api/v1/auth/universal-auth/login",
|
||||
"/v1/kms/auth/login",
|
||||
json={
|
||||
"clientId": auth.universal_auth.client_id,
|
||||
"clientSecret": auth.universal_auth.client_secret,
|
||||
|
||||
@@ -149,7 +149,7 @@ class KMSClient:
|
||||
# Universal Auth
|
||||
if auth.universal_auth:
|
||||
response = self.http.post(
|
||||
"/api/v1/auth/universal-auth/login",
|
||||
"/v1/kms/auth/login",
|
||||
json={
|
||||
"clientId": auth.universal_auth.client_id,
|
||||
"clientSecret": auth.universal_auth.client_secret,
|
||||
|
||||
Reference in New Issue
Block a user