From 62e56ebed8e9d6ebb14ff2e261c966436fc4e851 Mon Sep 17 00:00:00 2001 From: Marco Z Date: Sat, 9 Mar 2024 21:29:42 +0100 Subject: [PATCH] Update Route.hs add File import --- Web/Scotty/Route.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Scotty/Route.hs b/Web/Scotty/Route.hs index ff6de6e..1f05390 100644 --- a/Web/Scotty/Route.hs +++ b/Web/Scotty/Route.hs @@ -23,7 +23,7 @@ import qualified Text.Regex as Regex import Web.Scotty.Action -import Web.Scotty.Internal.Types (Options, RoutePattern(..), RouteOptions, ActionEnv(..), ActionT, ScottyState(..), ScottyT(..), ErrorHandler, Middleware, BodyInfo, handler, addRoute, defaultScottyResponse) +import Web.Scotty.Internal.Types (Options, RoutePattern(..), RouteOptions, ActionEnv(..), ActionT, ScottyState(..), ScottyT(..), ErrorHandler, Middleware, BodyInfo, File, handler, addRoute, defaultScottyResponse) import Web.Scotty.Util (decodeUtf8Lenient) import Web.Scotty.Body (cloneBodyInfo, getBodyAction, getBodyChunkAction, getFormParamsAndFilesAction)