Skip to content

Commit

Permalink
update type
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbhughes committed Sep 12, 2024
1 parent 5ba94ed commit f816779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/WorkspaceFlowRunsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export class WorkspaceFlowRunsApi extends WorkspaceApi {
}

public async getFlowRunJobConfig(flowRunId: string): Promise<Record<string, unknown>> {
const { data } = await this.get<{ config: Record<string, unknown> }>(`${flowRunId}/job/config`)
return data.config
const { data } = await this.get<Record<string, unknown>>(`${flowRunId}/job/config`)
return data
}
}

0 comments on commit f816779

Please sign in to comment.