Skip to content

Commit

Permalink
feat: enable retry for workflow landing api request (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterckx committed Oct 21, 2024
1 parent e3af2ec commit c22929a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/utils/galaxy-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export async function getWorkflowLandingId(
};
const res = await ky.post<WorkflowLanding>(WORKFLOW_LANDINGS_URL, {
json: body,
retry: {
methods: ["post"],
},
});
return (await res.json()).uuid;
}

0 comments on commit c22929a

Please sign in to comment.