fix task v1 generation in run_task api (#2075)
This commit is contained in:
@@ -171,7 +171,7 @@ async def _setup_local_organization() -> str:
|
|||||||
organization_id=organization.organization_id,
|
organization_id=organization.organization_id,
|
||||||
token_type=OrganizationAuthTokenType.api,
|
token_type=OrganizationAuthTokenType.api,
|
||||||
)
|
)
|
||||||
return org_auth_token.token
|
return org_auth_token.token if org_auth_token else ""
|
||||||
|
|
||||||
|
|
||||||
@app.command(name="init")
|
@app.command(name="init")
|
||||||
|
|||||||
Reference in New Issue
Block a user