Skip to content

Commit

Permalink
fix: Use workflowRunIdsNumbers when available (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehoops-cz authored Mar 21, 2024
1 parent c9444f8 commit cc890fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export const resolvers: Resolvers = {
const workflowRunIdsNumbers = workflowRunIdsStrings?.map(
id => id && parseInt(id),
);

const body = {
download_type: downloadType,
workflow: workflow,
Expand All @@ -198,7 +199,9 @@ export const resolvers: Resolvers = {
value: workflow,
},
},
workflow_run_ids: workflowRunIds,
workflow_run_ids: workflowRunIdsNumbers
? workflowRunIdsNumbers
: workflowRunIds,
};
const res = await postWithCSRF({
url: `/bulk_downloads/consensus_genome_overview_data`,
Expand Down

0 comments on commit cc890fd

Please sign in to comment.