You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2022/10/13 13:24:42 UTC

[incubator-devlake] 01/02: fix(tapd): modify json tag for workflow id

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

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

commit fb705f28ee60a668d398b4483ef53d034223f525
Author: Yingchu Chen <yi...@merico.dev>
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"`