Skip to content

Commit 813fc0d

Browse files
committed
feat: enable retry for workflow landing api request (#137)
1 parent 93db4ad commit 813fc0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/utils/galaxy-api.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ export async function getWorkflowLandingId(
3232
};
3333
const res = await ky.post<WorkflowLanding>(WORKFLOW_LANDINGS_URL, {
3434
json: body,
35+
retry: {
36+
methods: ["post"],
37+
},
3538
});
3639
return (await res.json()).uuid;
3740
}

0 commit comments

Comments
 (0)