Skip to content
Snippets Groups Projects
Commit b57dcd7a authored by Jens Nolte's avatar Jens Nolte
Browse files

Fix click handler by reverting json attribute "block_name" to "name"

parent 4a11d066
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ instance ToJSON RenderBlock where
where
fullText'' = [ "full_text" .= fullText' ]
shortText'' = fromMaybe (\s -> ["short_text".=s]) mempty shortText'
blockName'' = fromMaybe (\s -> ["block_name".=s]) mempty blockName'
blockName'' = fromMaybe (\s -> ["name".=s]) mempty blockName'
pango'' = [ "markup" .= ("pango" :: T.Text) ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment