aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/attachment.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/attachment.go')
-rw-r--r--routers/web/repo/attachment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/attachment.go b/routers/web/repo/attachment.go
index 6437c39a57..0df2efeac7 100644
--- a/routers/web/repo/attachment.go
+++ b/routers/web/repo/attachment.go
@@ -154,5 +154,5 @@ func ServeAttachment(ctx *context.Context, uuid string) {
// GetAttachment serve attachments
func GetAttachment(ctx *context.Context) {
- ServeAttachment(ctx, ctx.Params(":uuid"))
+ ServeAttachment(ctx, ctx.PathParam(":uuid"))
}