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 <[email protected]>
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,

Reply via email to