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

lynwee pushed a commit to branch fix-8423
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 9dead4408ce62914a95cfb6092ba38531b2c8f96
Author: d4x1 <[email protected]>
AuthorDate: Tue May 6 15:48:38 2025 +0800

    fix(tapd): fix panic when executing extractStoryCategories
---
 backend/plugins/tapd/models/story_category.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/backend/plugins/tapd/models/story_category.go 
b/backend/plugins/tapd/models/story_category.go
index 31ea0d108..b33c188a5 100644
--- a/backend/plugins/tapd/models/story_category.go
+++ b/backend/plugins/tapd/models/story_category.go
@@ -23,10 +23,10 @@ import (
 
 type TapdStoryCategory struct {
        ConnectionId uint64          `gorm:"primaryKey"`
-       Id           uint64          `gorm:"primaryKey;type:BIGINT NOT 
NULL;autoIncrement:false" json:"id,string"`
+       Id           int64           `gorm:"primaryKey;type:BIGINT NOT 
NULL;autoIncrement:false" json:"id,string"`
        Name         string          `json:"name" gorm:"type:varchar(255)"`
        Description  string          `json:"description"`
-       ParentId     uint64          `json:"parent_id,string"`
+       ParentId     int64           `json:"parent_id,string"`
        Created      *common.CSTTime `json:"created"`
        Modified     *common.CSTTime `json:"modified"`
        common.NoPKModel

Reply via email to