This is an automated email from the ASF dual-hosted git repository.
warren 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 ef4421b41 fix: fix gitlab PUT scopes router (#3997)
ef4421b41 is described below
commit ef4421b4189cd3cdf3b84781beaee1f21c003dfe
Author: mindlesscloud <[email protected]>
AuthorDate: Wed Dec 21 14:37:00 2022 +0800
fix: fix gitlab PUT scopes router (#3997)
---
plugins/gitlab/impl/impl.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/gitlab/impl/impl.go b/plugins/gitlab/impl/impl.go
index 0c2675030..650785910 100644
--- a/plugins/gitlab/impl/impl.go
+++ b/plugins/gitlab/impl/impl.go
@@ -237,11 +237,11 @@ func (plugin Gitlab) ApiResources()
map[string]map[string]core.ApiResourceHandle
},
"connections/:connectionId/scopes/:projectId": {
"GET": api.GetScope,
- "PUT": api.PutScope,
"PATCH": api.UpdateScope,
},
"connections/:connectionId/scopes": {
"GET": api.GetScopeList,
+ "PUT": api.PutScope,
},
"transformation_rules": {
"POST": api.CreateTransformationRule,