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

warren pushed a commit to branch release-v0.14
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.14 by this push:
     new cc156697 fix(tapd): modify json tag for workflow id
cc156697 is described below

commit cc1566975dcbb93c53ee25c46ffa88b8e66e880b
Author: Yingchu Chen <[email protected]>
AuthorDate: Thu Oct 13 16:50:07 2022 +0800

    fix(tapd): modify json tag for workflow id
---
 plugins/tapd/models/workitem_type.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/tapd/models/workitem_type.go 
b/plugins/tapd/models/workitem_type.go
index 71460e9f..f45620bf 100644
--- a/plugins/tapd/models/workitem_type.go
+++ b/plugins/tapd/models/workitem_type.go
@@ -28,7 +28,7 @@ type TapdWorkitemType struct {
        EnglishName    string          `gorm:"type:varchar(255)" 
json:"english_name"`
        Status         string          `gorm:"type:varchar(255)" json:"status"`
        Color          string          `gorm:"type:varchar(255)" json:"color"`
-       WorkflowID     uint64          `json:"workflow_id"`
+       WorkflowID     uint64          `json:"workflow_id,string"`
        Icon           string          `json:"icon"`
        IconSmall      string          `json:"icon_small"`
        Creator        string          `gorm:"type:varchar(255)" json:"creator"`

Reply via email to