diff options
Diffstat (limited to 'routers/api/v1/users.go')
-rw-r--r-- | routers/api/v1/users.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/users.go b/routers/api/v1/users.go index a5ad8fbca0..e4da60aa7b 100644 --- a/routers/api/v1/users.go +++ b/routers/api/v1/users.go @@ -15,7 +15,7 @@ type user struct { AvatarLink string `json:"avatar"` } -func SearchUser(ctx *middleware.Context) { +func SearchUsers(ctx *middleware.Context) { q := ctx.Query("q") limit, err := base.StrTo(ctx.Query("limit")).Int() if err != nil { |