Skip to content

Commit

Permalink
feat: update the middleware endpoint to use the new one (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
loama authored Jul 4, 2024
1 parent 728b921 commit 1491cc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbs/nixtla_client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@
" if base_url is None:\n",
" base_url = os.environ.get(\n",
" \"NIXTLA_BASE_URL\", \n",
" \"https://dashboard.nixtla.io/api\",\n",
" \"https://api.nixtla.io\",\n",
" )\n",
" self.client = Nixtla(base_url=base_url, token=api_key)\n",
" self.max_retries = max_retries\n",
Expand Down
2 changes: 1 addition & 1 deletion nixtla/nixtla_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ def __init__(
if base_url is None:
base_url = os.environ.get(
"NIXTLA_BASE_URL",
"https://dashboard.nixtla.io/api",
"https://api.nixtla.io",
)
self.client = Nixtla(base_url=base_url, token=api_key)
self.max_retries = max_retries
Expand Down

0 comments on commit 1491cc5

Please sign in to comment.