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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user