Skip to content

Commit

Permalink
fix: add public: true to workflow landings request body (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterckx committed Oct 25, 2024
1 parent 7e558a1 commit c3d1c63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/utils/galaxy-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -30,6 +31,7 @@ export async function getWorkflowLandingUrl(
referenceGenome: string
): Promise<string> {
const body: WorkflowLandingsBody = {
public: true,
request_state: getWorkflowLandingsRequestState(workflowId, referenceGenome),
workflow_id: workflowId,
workflow_target_type: "trs_url",
Expand Down

0 comments on commit c3d1c63

Please sign in to comment.