You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2023/05/06 06:26:20 UTC
[incubator-devlake] branch release-v0.17 updated: fix(config-ui): update the webhook deployment sample (#5101)
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch release-v0.17
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.17 by this push:
new b78008b03 fix(config-ui): update the webhook deployment sample (#5101)
b78008b03 is described below
commit b78008b03a81a1e6915cca1fc32a148d35e2b512
Author: 青湛 <0x...@gmail.com>
AuthorDate: Sat May 6 14:26:15 2023 +0800
fix(config-ui): update the webhook deployment sample (#5101)
---
.../src/plugins/register/webook/create-dialog/use-create.ts | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/config-ui/src/plugins/register/webook/create-dialog/use-create.ts b/config-ui/src/plugins/register/webook/create-dialog/use-create.ts
index 84a1ccd9d..d1920d57e 100644
--- a/config-ui/src/plugins/register/webook/create-dialog/use-create.ts
+++ b/config-ui/src/plugins/register/webook/create-dialog/use-create.ts
@@ -54,11 +54,11 @@ export const useCreate = ({ onSubmitAfter }: UseCreateProps) => {
setRecord({
postIssuesEndpoint: `${prefix}${res.postIssuesEndpoint}`,
closeIssuesEndpoint: `${prefix}${res.closeIssuesEndpoint}`,
- postDeploymentsCurl: `curl ${prefix}${res.postPipelineDeployTaskEndpoint} -X 'POST' -d "{
- \\"commit_sha\\":\\"the sha of deployment commit\\",
- \\"repo_url\\":\\"the repo URL of the deployment commit\\",
- \\"start_time\\":\\"Optional, eg. 2020-01-01T12:00:00+00:00\\"
- }"`,
+ postDeploymentsCurl: `curl ${prefix}${res.postPipelineDeployTaskEndpoint}-X 'POST' -d '{
+ \\"commit_sha\\":\\"the sha of deployment commit\\",
+ \\"repo_url\\":\\"the repo URL of the deployment commit\\",
+ \\"start_time\\":\\"eg. 2020-01-01T12:00:00+00:00\\"
+ }'`,
});
} else if (success) {
onSubmitAfter?.(res.id);