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 2023/10/19 09:36:55 UTC

[incubator-devlake] branch kw-fix-patch-gitlab-sc-failed created (now c4a258824)

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

klesh pushed a change to branch kw-fix-patch-gitlab-sc-failed
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


      at c4a258824 fix: reporting missing scopeConfigId in pathVar when patching gitlab scopeConfig

This branch includes the following new commits:

     new c4a258824 fix: reporting missing scopeConfigId in pathVar when patching gitlab scopeConfig

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-devlake] 01/01: fix: reporting missing scopeConfigId in pathVar when patching gitlab scopeConfig

Posted by kl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch kw-fix-patch-gitlab-sc-failed
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit c4a2588249a682546448f92dcb01a2eab8ad5eda
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Thu Oct 19 17:36:40 2023 +0800

    fix: reporting missing scopeConfigId in pathVar when patching gitlab scopeConfig
---
 backend/plugins/gitlab/impl/impl.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/gitlab/impl/impl.go b/backend/plugins/gitlab/impl/impl.go
index 94e615e2f..afa9e10c3 100644
--- a/backend/plugins/gitlab/impl/impl.go
+++ b/backend/plugins/gitlab/impl/impl.go
@@ -247,7 +247,7 @@ func (p Gitlab) ApiResources() map[string]map[string]plugin.ApiResourceHandler {
 			"POST": api.CreateScopeConfig,
 			"GET":  api.GetScopeConfigList,
 		},
-		"connections/:connectionId/scope-configs/:id": {
+		"connections/:connectionId/scope-configs/:scopeConfigId": {
 			"PATCH":  api.PatchScopeConfig,
 			"GET":    api.GetScopeConfig,
 			"DELETE": api.DeleteScopeConfig,