From 7ae9788be6ee42dc696b085064ccf176127c79ff Mon Sep 17 00:00:00 2001 From: Libby Horacek Date: Thu, 22 Apr 2021 09:32:55 -0400 Subject: [PATCH] Ids are Ints --- src/Web/Offset/Feed.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ->