From c3d1c63103131e577827dd2b2bdf6ef6979b8517 Mon Sep 17 00:00:00 2001 From: hunterckx <118154470+hunterckx@users.noreply.github.com> Date: Tue, 22 Oct 2024 15:37:21 -0700 Subject: [PATCH] fix: add `public: true` to workflow landings request body (#137) --- app/utils/galaxy-api.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/utils/galaxy-api.ts b/app/utils/galaxy-api.ts index 75f79e16..37f0b2f4 100644 --- a/app/utils/galaxy-api.ts +++ b/app/utils/galaxy-api.ts @@ -2,6 +2,7 @@ import ky from "ky"; import { WORKFLOW_ID } from "../apis/catalog/brc-analytics-catalog/common/entities"; interface WorkflowLandingsBody { + public: true; request_state: WorkflowLandingsBodyRequestState; workflow_id: string; workflow_target_type: "trs_url"; @@ -30,6 +31,7 @@ export async function getWorkflowLandingUrl( referenceGenome: string ): Promise { const body: WorkflowLandingsBody = { + public: true, request_state: getWorkflowLandingsRequestState(workflowId, referenceGenome), workflow_id: workflowId, workflow_target_type: "trs_url",