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

lynwee 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 c319ce949 fix: reporting missing scopeConfigId in pathVar when 
patching gitlab scopeConfig (#6288)
c319ce949 is described below

commit c319ce9493f54dbd14a73650fc39ce0b0dbb20dc
Author: Klesh Wong <[email protected]>
AuthorDate: Thu Oct 19 18:00:22 2023 +0800

    fix: reporting missing scopeConfigId in pathVar when patching gitlab 
scopeConfig (#6288)
---
 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