Skip to content

Commit

Permalink
fix: default to DEFAULT_ENDPOINT even if None host is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetazzoni committed May 13, 2024
1 parent b27b255 commit 801fa08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wherobots/db/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def connect(
elif api_key:
headers["X-API-Key"] = api_key

host = host or DEFAULT_ENDPOINT
runtime = runtime or DEFAULT_RUNTIME
region = region or DEFAULT_REGION

Expand Down

0 comments on commit 801fa08

Please sign in to comment.