Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thewbuk committed Jul 26, 2024
1 parent d5c8925 commit e7352c6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/toolkit/src/constant/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@ export const getInstillPipelineHttpRequestExample = ({

let snippet = triggerPipelineSnippet;

const triggerEndpoint = version && version !== "latest"
? `releases/${version}/trigger`
: "trigger";
const triggerEndpoint =
version && version !== "latest" ? `releases/${version}/trigger` : "trigger";

snippet = snippet
.replace(/\{vdp-pipeline-base-url\}/g, env("NEXT_PUBLIC_API_GATEWAY_URL"))
Expand Down

0 comments on commit e7352c6

Please sign in to comment.