Commit e1feabb5 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FEAT] external apis tested and fixed.

parent ed4debe3
Pipeline #549 failed with stage
......@@ -43,7 +43,7 @@ toDoc' la (HAL.Corpus i t ab d s aus affs) = do
(Just $ intercalate " " t)
(Just $ foldl (\x y -> x <> ", " <> y) "" aus)
(Just $ foldl (\x y -> x <> ", " <> y) "" affs)
s
(Just $ maybe "Nothing" identity s)
(Just $ intercalate " " ab)
(fmap (pack . show) utctime)
pub_year
......
......@@ -80,7 +80,7 @@ isidoreToDoc l (IsidoreDoc t a d u s as) = do
(Just $ cleanText $ langText t)
(creator2text <$> as)
Nothing
(_sourceName <$> s)
(Just $ maybe "Nothing" identity $ _sourceName <$> s)
(cleanText <$> langText <$> a)
(fmap (Text.pack . show) utcTime)
(pub_year)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment