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

likyh 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 5f7e8a8c5 fix(gitlab): delete fields for groupresponse (#4799)
5f7e8a8c5 is described below

commit 5f7e8a8c5642268a4a9fa1c1c3d68211796751f1
Author: Warren Chen <[email protected]>
AuthorDate: Tue Mar 28 16:54:35 2023 +0800

    fix(gitlab): delete fields for groupresponse (#4799)
---
 backend/plugins/gitlab/models/project.go | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/backend/plugins/gitlab/models/project.go 
b/backend/plugins/gitlab/models/project.go
index 9f9c1f1c0..5003d1302 100644
--- a/backend/plugins/gitlab/models/project.go
+++ b/backend/plugins/gitlab/models/project.go
@@ -107,20 +107,14 @@ type GitlabApiProject struct {
 }
 
 type GroupResponse struct {
-       Id                   int    `json:"id" group:"id"`
-       WebUrl               string `json:"web_url"`
-       Name                 string `json:"name" group:"name"`
-       Path                 string `json:"path"`
-       Description          string `json:"description"`
-       Visibility           string `json:"visibility"`
-       LfsEnabled           bool   `json:"lfs_enabled"`
-       AvatarUrl            string `json:"avatar_url"`
-       RequestAccessEnabled bool   `json:"request_access_enabled"`
-       FullName             string `json:"full_name"`
-       FullPath             string `json:"full_path"`
-       ParentId             *int   `json:"parent_id"`
-       LdapCN               string `json:"ldap_cn"`
-       LdapAccess           string `json:"ldap_access"`
+       Id          int    `json:"id" group:"id"`
+       WebUrl      string `json:"web_url"`
+       Name        string `json:"name" group:"name"`
+       Path        string `json:"path"`
+       Description string `json:"description"`
+       FullName    string `json:"full_name"`
+       FullPath    string `json:"full_path"`
+       ParentId    *int   `json:"parent_id"`
 }
 
 func (p GroupResponse) GroupId() string {

Reply via email to