Skip to content

Commit 801fa08

Browse files
committed
fix: default to DEFAULT_ENDPOINT even if None host is provided
1 parent b27b255 commit 801fa08

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wherobots/db/driver.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def connect(
6161
elif api_key:
6262
headers["X-API-Key"] = api_key
6363

64+
host = host or DEFAULT_ENDPOINT
6465
runtime = runtime or DEFAULT_RUNTIME
6566
region = region or DEFAULT_REGION
6667

0 commit comments

Comments
 (0)