diff options
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/action.go b/models/action.go index 377f6074..a5e1a526 100644 --- a/models/action.go +++ b/models/action.go @@ -80,14 +80,14 @@ type Action struct { OpType ActionType ActUserID int64 // Doer user ID ActUserName string // Doer user name - ActAvatar string `xorm:"-"` + ActAvatar string `xorm:"-" json:"-"` RepoID int64 `xorm:"INDEX"` RepoUserName string RepoName string RefName string IsPrivate bool `xorm:"NOT NULL DEFAULT false"` Content string `xorm:"TEXT"` - Created time.Time `xorm:"-"` + Created time.Time `xorm:"-" json:"-"` CreatedUnix int64 } |