aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/user/star.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/user/star.go')
-rw-r--r--routers/api/v1/user/star.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/user/star.go b/routers/api/v1/user/star.go
index 83f97f8f01..cdbc35471b 100644
--- a/routers/api/v1/user/star.go
+++ b/routers/api/v1/user/star.go
@@ -21,7 +21,7 @@ import (
// getStarredRepos returns the repos that the user with the specified userID has
// starred
func getStarredRepos(user *user_model.User, private bool, listOptions db.ListOptions) ([]*api.Repository, error) {
- starredRepos, err := models.GetStarredRepos(user.ID, private, listOptions)
+ starredRepos, err := repo_model.GetStarredRepos(user.ID, private, listOptions)
if err != nil {
return nil, err
}