aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/code_frequency.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/code_frequency.go')
-rw-r--r--routers/web/repo/code_frequency.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/code_frequency.go b/routers/web/repo/code_frequency.go
index e212d3b60c..2b2dd5744a 100644
--- a/routers/web/repo/code_frequency.go
+++ b/routers/web/repo/code_frequency.go
@@ -34,7 +34,7 @@ func CodeFrequencyData(ctx *context.Context) {
ctx.Status(http.StatusAccepted)
return
}
- ctx.ServerError("GetCodeFrequencyData", err)
+ ctx.ServerError("GetContributorStats", err)
} else {
ctx.JSON(http.StatusOK, contributorStats["total"].Weeks)
}