You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2024/05/31 03:15:37 UTC

(incubator-devlake) branch kw-webhook-deployment-no2 updated: refactor: removing unused pipelineId from webhook deployment api

This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch kw-webhook-deployment-no2
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/kw-webhook-deployment-no2 by this push:
     new 2747cad96 refactor: removing unused pipelineId from webhook deployment api
2747cad96 is described below

commit 2747cad96462dc725ac45febc03fa5db0f644185
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Fri May 31 11:14:47 2024 +0800

    refactor: removing unused pipelineId from webhook deployment api
---
 backend/plugins/webhook/api/deployments.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/backend/plugins/webhook/api/deployments.go b/backend/plugins/webhook/api/deployments.go
index 53b9896d4..005186004 100644
--- a/backend/plugins/webhook/api/deployments.go
+++ b/backend/plugins/webhook/api/deployments.go
@@ -41,7 +41,6 @@ import (
 type WebhookDeploymentReq struct {
 	Id           string `mapstructure:"id" validate:"required"`
 	DisplayTitle string `mapstructure:"displayTitle"`
-	PipelineId   string `mapstructure:"pipelineId"`
 	Result       string `mapstructure:"result"`
 	Environment  string `validate:"omitempty,oneof=PRODUCTION STAGING TESTING DEVELOPMENT"`
 	Name         string `mapstructure:"name"`