From ff5f14431eb2df2e68e6b3765607fa4aef99c707 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 17 Nov 2015 02:18:05 -0500 Subject: fix #1448 --- routers/api/v1/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/api/v1/user.go') diff --git a/routers/api/v1/user.go b/routers/api/v1/user.go index f27cd3ae..ec4f720c 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, }) -- cgit v1.2.3