Skip to content

Commit

Permalink
Rename grand central session cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
Taliik committed Feb 5, 2024
1 parent fe1a52a commit 20c7098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion croud/scheduledjobs/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ def _get_gc_client(args: Namespace) -> Client:
url_region_cloud = cluster.get("fqdn").split(".", 1)[1][:-1] # type: ignore
gc_url = f"https://{cluster.get('name')}.gc.{url_region_cloud}" # type: ignore
client.base_url = URL(gc_url)
client.session.cookies.set("cratedb_center_session", CONFIG.gc_jwt_token)
client.session.cookies.set("grand_central_session", CONFIG.gc_jwt_token)

return client

0 comments on commit 20c7098

Please sign in to comment.