From 9ace532895ec2062213dd43509f64a2e52059c8f Mon Sep 17 00:00:00 2001 From: Warren Chen Date: Tue, 23 Aug 2022 16:00:33 +0800 Subject: [PATCH] fix(tapd): modify story bug because of new api (#2794) closes #2792 --- plugins/tapd/models/story_bug.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tapd/models/story_bug.go b/plugins/tapd/models/story_bug.go index af7f6a84277..de12a43a144 100644 --- a/plugins/tapd/models/story_bug.go +++ b/plugins/tapd/models/story_bug.go @@ -23,7 +23,7 @@ import ( type TapdStoryBug struct { ConnectionId uint64 `gorm:"primaryKey"` - WorkspaceId uint64 `gorm:"primaryKey" json:"workspace_id,string"` + WorkspaceId uint64 `gorm:"primaryKey" json:"workspace_id"` StoryId uint64 `gorm:"primaryKey" json:"story_id,string"` BugId uint64 `gorm:"primaryKey" json:"bug_id,string"` common.NoPKModel