Skip to content

Commit 3ee0ecd

Browse files
committed
fix(ashby): revert body field names to candidateId and jobId for info endpoints
1 parent 231786b commit 3ee0ecd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/sim/tools/ashby/get_candidate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const getCandidateTool: ToolConfig<AshbyGetCandidateParams, AshbyGetCandi
3030
Authorization: `Basic ${btoa(`${params.apiKey}:`)}`,
3131
}),
3232
body: (params) => ({
33-
id: params.candidateId.trim(),
33+
candidateId: params.candidateId.trim(),
3434
}),
3535
},
3636

apps/sim/tools/ashby/get_job.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const getJobTool: ToolConfig<AshbyGetJobParams, AshbyGetJobResponse> = {
3030
Authorization: `Basic ${btoa(`${params.apiKey}:`)}`,
3131
}),
3232
body: (params) => ({
33-
id: params.jobId.trim(),
33+
jobId: params.jobId.trim(),
3434
}),
3535
},
3636

0 commit comments

Comments
 (0)