This is an automated email from the ASF dual-hosted git repository.
abeizn 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 b247ab00 fix(tapd): modify json tag for workflow id
b247ab00 is described below
commit b247ab00c42169cfa351204036fc522a2390b0b9
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"`