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

zhangliang2022 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 b130a99e7 fix: fix a camel case in gitlab transformation (#4048)
b130a99e7 is described below

commit b130a99e71cfcb7bdc4142c243e5314ed693dd32
Author: Likyh <[email protected]>
AuthorDate: Wed Dec 28 15:08:46 2022 +0800

    fix: fix a camel case in gitlab transformation (#4048)
---
 plugins/gitlab/models/transformation_rule.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/gitlab/models/transformation_rule.go 
b/plugins/gitlab/models/transformation_rule.go
index ba9a0cb04..10a73e111 100644
--- a/plugins/gitlab/models/transformation_rule.go
+++ b/plugins/gitlab/models/transformation_rule.go
@@ -24,7 +24,7 @@ import (
 
 type GitlabTransformationRule struct {
        common.Model
-       Name                 string            `gorm:"type:varchar(255)"`
+       Name                 string            `gorm:"type:varchar(255)" 
mapstructure:"name" json:"name"`
        PrType               string            `mapstructure:"prType" 
json:"prType"`
        PrComponent          string            `mapstructure:"prComponent" 
json:"prComponent"`
        PrBodyClosePattern   string            
`mapstructure:"prBodyClosePattern" json:"prBodyClosePattern"`

Reply via email to