summaryrefslogtreecommitdiffstats
path: root/modules/convert/release.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/convert/release.go')
-rw-r--r--modules/convert/release.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/convert/release.go b/modules/convert/release.go
index d9def89637..70f0d6e764 100644
--- a/modules/convert/release.go
+++ b/modules/convert/release.go
@@ -29,7 +29,7 @@ func ToRelease(r *models.Release) *api.Release {
IsPrerelease: r.IsPrerelease,
CreatedAt: r.CreatedUnix.AsTime(),
PublishedAt: r.CreatedUnix.AsTime(),
- Publisher: ToUser(r.Publisher, false, false),
+ Publisher: ToUser(r.Publisher, nil),
Attachments: assets,
}
}