1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-11 17:42:48 +00:00

end point tests figured out

This commit is contained in:
2018-01-06 12:25:50 -06:00
parent 006a7e1fc2
commit 959c44b8f8
7 changed files with 68 additions and 12 deletions

View File

@@ -5,9 +5,7 @@ defmodule MyAppWeb.CategoryController do
@spec get_collection(map, map) :: any
def get_collection(conn, _params) do
output = Data.Category.get_categories()
conn
|> put_status(200)
|> Response.json(output)