Skip to content

Commit

Permalink
Merge pull request #916 from longguikeji/feature-fix-arkstore-tenant
Browse files Browse the repository at this point in the history
fix: 🐛 fix arkstore login
  • Loading branch information
luolu-lg authored Jun 7, 2022
2 parents e6553d1 + 0d977bb commit 9504beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arkid/common/arkstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_arkstore_access_token_with_saas_token(saas_tenant_slug, saas_tenant_id,
key = (str(saas_tenant_id), token)
if key in arkstore_access_token_saas_cache:
return arkstore_access_token_saas_cache[key]
params = {'state': 'client', 'tenant_slug': saas_tenant_slug, 'tenant_uuid': str(saas_tenant_id), 'token': token}
params = {'state': 'client', 'tenant_slug': saas_tenant_slug, 'tenant_id': str(saas_tenant_id), 'token': token}
app_login_url = settings.ARKSTOER_URL + '/api/v1/login'
resp = requests.get(app_login_url, params=params)
if resp.status_code != 200:
Expand Down

0 comments on commit 9504beb

Please sign in to comment.