You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2023/12/18 10:52:57 UTC
(incubator-devlake) branch main updated: fix: bp trigger swag (#6657)
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new e4e5143b9 fix: bp trigger swag (#6657)
e4e5143b9 is described below
commit e4e5143b971411fb4b534a5143e71d9e5461a180
Author: abeizn <zi...@merico.dev>
AuthorDate: Mon Dec 18 18:52:52 2023 +0800
fix: bp trigger swag (#6657)
* fix: bp trigger swag
* fix: bp trigger swag
---
backend/server/api/blueprints/blueprints.go | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/backend/server/api/blueprints/blueprints.go b/backend/server/api/blueprints/blueprints.go
index 338fc34b9..cbe36cb43 100644
--- a/backend/server/api/blueprints/blueprints.go
+++ b/backend/server/api/blueprints/blueprints.go
@@ -165,8 +165,7 @@ func Patch(c *gin.Context) {
// @Tags framework/blueprints
// @Accept application/json
// @Param blueprintId path string true "blueprintId"
-// @Param skipCollectors body bool false "skipCollectors"
-// @Param fullSync body bool false "fullSync"
+// @Param skipCollectors body models.SyncPolicy false "json"
// @Success 200 {object} models.Pipeline
// @Failure 400 {object} shared.ApiBody "Bad Request"
// @Failure 500 {object} shared.ApiBody "Internal Error"