summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/user/followers.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/user/followers.go')
-rw-r--r--routers/api/v1/user/followers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/user/followers.go b/routers/api/v1/user/followers.go
index 7e00cb3f18..00d1952d59 100644
--- a/routers/api/v1/user/followers.go
+++ b/routers/api/v1/user/followers.go
@@ -15,7 +15,7 @@ import (
func responseApiUsers(ctx *context.APIContext, users []*models.User) {
apiUsers := make([]*api.User, len(users))
for i := range users {
- apiUsers[i] = convert.ToApiUser(users[i])
+ apiUsers[i] = convert.ToUser(users[i])
}
ctx.JSON(200, &apiUsers)
}