Remove unused accidentally left line

This commit is contained in:
fr33domlover 2019-05-16 21:21:51 +00:00
parent ebc3f016b6
commit b12ad49b62

View file

@ -414,7 +414,6 @@ instance ActivityPub Note where
typ <- o .: "type" typ <- o .: "type"
unless (typ == ("Note" :: Text)) $ fail "type isn't Note" unless (typ == ("Note" :: Text)) $ fail "type isn't Note"
(h, attrib) <- f2l <$> o .: "attributedTo" (h, attrib) <- f2l <$> o .: "attributedTo"
(h, id_) <- f2l <$> o .: "id"
fmap (h,) $ fmap (h,) $
Note Note
<$> withHostM h (fmap f2l <$> o .:? "id") <$> withHostM h (fmap f2l <$> o .:? "id")