mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
* Fix missing updated time on migrated issues and comments * Fix testing and missing updated on migrating pullrequest Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
This commit is contained in:
committed by
Antoine GIRARD
parent
3e23dad075
commit
28508792ba
@@ -14,6 +14,7 @@ type Comment struct {
|
||||
PosterName string
|
||||
PosterEmail string
|
||||
Created time.Time
|
||||
Updated time.Time
|
||||
Content string
|
||||
Reactions *Reactions
|
||||
}
|
||||
|
@@ -19,6 +19,7 @@ type Issue struct {
|
||||
State string // closed, open
|
||||
IsLocked bool
|
||||
Created time.Time
|
||||
Updated time.Time
|
||||
Closed *time.Time
|
||||
Labels []*Label
|
||||
Reactions *Reactions
|
||||
|
@@ -21,6 +21,7 @@ type PullRequest struct {
|
||||
Milestone string
|
||||
State string
|
||||
Created time.Time
|
||||
Updated time.Time
|
||||
Closed *time.Time
|
||||
Labels []*Label
|
||||
PatchURL string
|
||||
|
Reference in New Issue
Block a user