Skip to content
Snippets Groups Projects
Commit 2d30fc27 authored by Maxim Filippov's avatar Maxim Filippov :new_moon_with_face:
Browse files

Typo

parent 02359d68
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ Authentication is required and the user must be an admin.
- Method `GET`
- Params:
- `query`: **string** *optional* search term
- `only_local`: **bool** *optional* whether to return only local users
- `local_only`: **bool** *optional* whether to return only local users
- `page`: **integer** *optional* page number
- `page_size`: **integer** *optional* number of users per page (default is `50`)
- Response:
......
......@@ -63,21 +63,6 @@ def untag_users(conn, %{"nicknames" => nicknames, "tags" => tags}) do
do: json_response(conn, :no_content, "")
end
# def list_users(conn, params) do
# {page, page_size} = page_params(params)
# with {:ok, users, count} <- User.all_for_admin(page, page_size),
# do:
# conn
# |> json(
# AccountView.render("index.json",
# users: users,
# count: count,
# page_size: page_size
# )
# )
# end
def list_users(%{assigns: %{user: admin}} = conn, params) do
{page, page_size} = page_params(params)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment