Skip to content

Commit 9ddefe0

Browse files
author
Albert Sedlacek
committed
fixed building stack_url in QueueAPIClient
1 parent 57ab237 commit 9ddefe0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/client/queue_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ def __init__(self, sapi_token: str, keboola_stack: str, custom_stack: Optional[s
2828
def get_stack_url(keboola_stack: str, custom_stack: Optional[str]):
2929
if keboola_stack == "Custom Stack":
3030
stack_url = CLOUD_URL.replace("{STACK}", custom_stack)
31+
elif keboola_stack == "-":
32+
stack_url = QUEUE_V2_URL.replace("{STACK}", "")
3133
else:
3234
stack_url = QUEUE_V2_URL.replace("{STACK}", keboola_stack)
3335

0 commit comments

Comments
 (0)