From f81677997076f24944201ace39150614f5e9dc8a Mon Sep 17 00:00:00 2001 From: Dylan Hughes Date: Wed, 11 Sep 2024 23:17:44 -0400 Subject: [PATCH] update type --- src/services/WorkspaceFlowRunsApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/WorkspaceFlowRunsApi.ts b/src/services/WorkspaceFlowRunsApi.ts index 8659e3a48..ddf99f8e2 100644 --- a/src/services/WorkspaceFlowRunsApi.ts +++ b/src/services/WorkspaceFlowRunsApi.ts @@ -167,7 +167,7 @@ export class WorkspaceFlowRunsApi extends WorkspaceApi { } public async getFlowRunJobConfig(flowRunId: string): Promise> { - const { data } = await this.get<{ config: Record }>(`${flowRunId}/job/config`) - return data.config + const { data } = await this.get>(`${flowRunId}/job/config`) + return data } }