Try to add something like this… to check what You receive.
def create(conn, %{“template” => template_params} = params) do
IO.inspect(params, label: "PARAMS")
end
BTW You misplaced fence in your post. It should be around your code…
Try to add something like this… to check what You receive.
def create(conn, %{“template” => template_params} = params) do
IO.inspect(params, label: "PARAMS")
end
BTW You misplaced fence in your post. It should be around your code…