Fix typo in filename

This commit is contained in:
2023-06-08 20:46:36 +03:00
parent 07478db77b
commit 090053c312

View File

@@ -8,7 +8,7 @@ defmodule OsuuspuutarhaWeb.Exports.OrderController do
conn conn
|> put_resp_content_type("text/xlsx") |> put_resp_content_type("text/xlsx")
|> put_resp_header("content-disposition", "attachment; filename=\"tilaukset.xlxs\"") |> put_resp_header("content-disposition", "attachment; filename=\"tilaukset.xlsx\"")
|> render("tilaukset.xlsx", %{orders: orders}) |> render("tilaukset.xlsx", %{orders: orders})
end end
end end