Fix missing updated time on migrated issues and comments (#9744)

* 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>
This commit is contained in:
Lunny Xiao 2020-01-14 18:29:22 +08:00 committed by zeripath
parent 2677d071f9
commit 7f869c061e
6 changed files with 15 additions and 0 deletions

View file

@ -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