aboutsummaryrefslogtreecommitdiff
path: root/models/attachment.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/attachment.go')
-rw-r--r--models/attachment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/attachment.go b/models/attachment.go
index 4072e11e..31ca7f3e 100644
--- a/models/attachment.go
+++ b/models/attachment.go
@@ -27,7 +27,7 @@ type Attachment struct {
ReleaseID int64 `xorm:"INDEX"`
Name string
- Created time.Time `xorm:"-"`
+ Created time.Time `xorm:"-" json:"-"`
CreatedUnix int64
}