diff --git a/src/Web/Offset/Feed.hs b/src/Web/Offset/Feed.hs index d784f88..438b59b 100644 --- a/src/Web/Offset/Feed.hs +++ b/src/Web/Offset/Feed.hs @@ -169,7 +169,7 @@ getAuthorViaReq wp v = getAuthorsViaReq :: Wordpress b -> Object -> IO [WPPerson] getAuthorsViaReq wp v = - do let mAuthorId = parseMaybe (\obj -> obj .: "authors") v :: Maybe [T.Text] + do let mAuthorId = parseMaybe (\obj -> obj .: "authors") v :: Maybe [Int] case mAuthorId of Nothing -> return [] Just authorIds ->