From 090053c312ce4cb73dcfdfbc88064aa539ba4d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veikko=20Lintuj=C3=A4rvi?= Date: Thu, 8 Jun 2023 20:46:36 +0300 Subject: [PATCH] Fix typo in filename --- lib/osuuspuutarha_web/controllers/exports/order_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/osuuspuutarha_web/controllers/exports/order_controller.ex b/lib/osuuspuutarha_web/controllers/exports/order_controller.ex index 5833865..b035015 100644 --- a/lib/osuuspuutarha_web/controllers/exports/order_controller.ex +++ b/lib/osuuspuutarha_web/controllers/exports/order_controller.ex @@ -8,7 +8,7 @@ defmodule OsuuspuutarhaWeb.Exports.OrderController do conn |> 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}) end end