From cf013af430d326891dcc6dedb3da385c5b3bdfcb Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Wed, 2 Apr 2025 13:57:26 -0400 Subject: [PATCH] fix task v1 generation in run_task api (#2075) --- skyvern/cli/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/cli/commands.py b/skyvern/cli/commands.py index ca4b0f6b..8a957315 100644 --- a/skyvern/cli/commands.py +++ b/skyvern/cli/commands.py @@ -171,7 +171,7 @@ async def _setup_local_organization() -> str: organization_id=organization.organization_id, token_type=OrganizationAuthTokenType.api, ) - return org_auth_token.token + return org_auth_token.token if org_auth_token else "" @app.command(name="init")