aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r--routers/repo/commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index c471952637..3e6148bcbb 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -355,7 +355,7 @@ func Diff(ctx *context.Context) {
}
note := &git.Note{}
- err = git.GetNote(ctx.Repo.GitRepo, commitID, note)
+ err = git.GetNote(ctx, ctx.Repo.GitRepo, commitID, note)
if err == nil {
ctx.Data["Note"] = string(charset.ToUTF8WithFallback(note.Message))
ctx.Data["NoteCommit"] = note.Commit