diff options
author | Unknwon <u@gogs.io> | 2015-11-17 02:18:05 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-17 02:18:05 -0500 |
commit | ff5f14431eb2df2e68e6b3765607fa4aef99c707 (patch) | |
tree | 07fc01396d867adaf794ad47a010132ebeb0a71e /routers | |
parent | ab9411be2ae01970f4c2c092683bd9d9b71c994b (diff) | |
download | gitea-ff5f14431eb2df2e68e6b3765607fa4aef99c707.tar.gz gitea-ff5f14431eb2df2e68e6b3765607fa4aef99c707.zip |
fix #1448
Diffstat (limited to 'routers')
-rw-r--r-- | routers/api/v1/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/user.go b/routers/api/v1/user.go index f27cd3ae44..ec4f720cb6 100644 --- a/routers/api/v1/user.go +++ b/routers/api/v1/user.go @@ -55,7 +55,7 @@ func SearchUsers(ctx *middleware.Context) { } } - ctx.Render.JSON(200, map[string]interface{}{ + ctx.JSON(200, map[string]interface{}{ "ok": true, "data": results, }) |