Skip to content
Snippets Groups Projects
Commit 4324662b authored by stuebinm's avatar stuebinm
Browse files

cwality-maps: remove unused parameters

the substitutions + templating seems reasonably powerfull, let's see how
far we get without custom-made specific things.
parent e730b8b9
Branches
Tags prod-2024-11-02_21-16
No related merge requests found
...@@ -58,11 +58,8 @@ instance FromHttpApiData JsonFilename where ...@@ -58,11 +58,8 @@ instance FromHttpApiData JsonFilename where
newtype Tag = Tag Text newtype Tag = Tag Text
deriving (Generic, FromJSON) deriving (Generic, FromJSON)
data MapParams = MapParams newtype MapParams = MapParams
{ contentWarnings :: [Tag] { substs :: Map Text Text
, backUrl :: Text
, exitUrl :: Maybe Text
, substs :: Map Text Text
} deriving (Generic, FromJSON) } deriving (Generic, FromJSON)
instance FromHttpApiData MapParams where instance FromHttpApiData MapParams where
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment