aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/repo/star.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/repo/star.go')
-rw-r--r--routers/api/v1/repo/star.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/star.go b/routers/api/v1/repo/star.go
index fccc76b518..05227e33a0 100644
--- a/routers/api/v1/repo/star.go
+++ b/routers/api/v1/repo/star.go
@@ -45,7 +45,7 @@ func ListStargazers(ctx *context.APIContext) {
// "404":
// "$ref": "#/responses/notFound"
- stargazers, err := repo_model.GetStargazers(ctx.Repo.Repository, utils.GetListOptions(ctx))
+ stargazers, err := repo_model.GetStargazers(ctx, ctx.Repo.Repository, utils.GetListOptions(ctx))
if err != nil {
ctx.Error(http.StatusInternalServerError, "GetStargazers", err)
return