From 5cf84858d49f4231cc4efec5e3132f17f65f6cf6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 4 Sep 2018 10:22:10 +0200 Subject: Add federation to ownership change --- server/controllers/api/users/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers/api/users') diff --git a/server/controllers/api/users/index.ts b/server/controllers/api/users/index.ts index faba7e208..07edf3727 100644 --- a/server/controllers/api/users/index.ts +++ b/server/controllers/api/users/index.ts @@ -229,7 +229,7 @@ function getUser (req: express.Request, res: express.Response, next: express.Nex } async function autocompleteUsers (req: express.Request, res: express.Response, next: express.NextFunction) { - const resultList = await UserModel.autocomplete(req.query.search as string) + const resultList = await UserModel.autoComplete(req.query.search as string) return res.json(resultList) } -- cgit v1.2.3