From 7a10fe664cdc7a83147bd36e1898436f16d7dd22 Mon Sep 17 00:00:00 2001 From: Fern Support <126544928+fern-support@users.noreply.github.com> Date: Fri, 14 Nov 2025 20:28:51 -0500 Subject: [PATCH] Fix workflowId handling in API URL construction --- src/api/resources/workflows/client/Client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/resources/workflows/client/Client.ts b/src/api/resources/workflows/client/Client.ts index ce6b509..5825c64 100644 --- a/src/api/resources/workflows/client/Client.ts +++ b/src/api/resources/workflows/client/Client.ts @@ -883,7 +883,7 @@ export class Workflows { (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? environments.BrowserUseEnvironment.Production, - `workflows/${encodeURIComponent(workflowId_)}/executions`, + `workflows/${encodeURIComponent(workflowId_ ?? "null")}/executions`, ), method: "GET", headers: _headers,