Skip to content

Commit

Permalink
fix(pipeline-builder): fix the outdated trigger api path in the build…
Browse files Browse the repository at this point in the history
…er's toolkit (#1201)

Because

- fix the outdated trigger api path in the builder's toolkit

This commit

- fix the outdated trigger api path in the builder's toolkit
  • Loading branch information
EiffelFly committed Jun 5, 2024
1 parent d49de44 commit a4e6a18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint-disable no-useless-escape */

export const core = `curl -X POST '{vdp-pipeline-base-url}/vdp/v1beta/{pipeline-name}/{trigger-endpoint}' \\
export const core = `curl -X POST '{vdp-pipeline-base-url}/v1beta/{pipeline-name}/{trigger-endpoint}' \\
--header 'Content-Type: application/json' \\
--data \'{input-array}'
`;

export const cloud = `curl -X POST '{vdp-pipeline-base-url}/vdp/v1beta/{pipeline-name}/{trigger-endpoint}' \\
export const cloud = `curl -X POST '{vdp-pipeline-base-url}/v1beta/{pipeline-name}/{trigger-endpoint}' \\
--header 'Content-Type: application/json' \\
--header 'Authorization: Bearer <api_token>' \\
--data \ '{input-array}'
Expand Down

0 comments on commit a4e6a18

Please sign in to comment.