summaryrefslogtreecommitdiff
path: root/server/Handlers.hs
diff options
context:
space:
mode:
authorstuebinm2024-10-29 01:43:01 +0100
committerstuebinm2024-10-29 01:43:01 +0100
commit31135ab11ba1133f723200003bf21d47f5a4d03e (patch)
tree59e203c2c0d0a2d7cdf3250fdbffee462f18b6e4 /server/Handlers.hs
parent768db4942bf40d0ca14a45f94ff406154dda5b03 (diff)
universum's microlens exports are deprecated
unfortunately, there seems to be no better way than hiding them manually, so this code will still break once they remove them.
Diffstat (limited to '')
-rw-r--r--server/Handlers.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/Handlers.hs b/server/Handlers.hs
index 10a729c..89ec6fe 100644
--- a/server/Handlers.hs
+++ b/server/Handlers.hs
@@ -12,7 +12,7 @@ module Handlers (
, AdminOverview(..)
, MapService(..),relintImpl,realtimeImpl) where
-import Universum
+import Universum hiding (view)
import CheckDir (DirResult (dirresultMaps))
import CheckMap (MapResult (..))
@@ -23,6 +23,7 @@ import qualified Data.Aeson as A
import qualified Data.Aeson.Key as A
import Data.Coerce (coerce)
import qualified Data.Map as M
+import Lens.Micro.Platform (view)
import Network.WebSockets (PendingConnection, acceptRequest,
rejectRequest, sendTextData,
withPingThread)