Fix #285
This commit is contained in:
parent
63cc14062a
commit
0f907301b7
9 changed files with 48 additions and 15 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue