Skip to content

Commit 7ae9788

Browse files
committed
Ids are Ints
1 parent 8808e4c commit 7ae9788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Web/Offset/Feed.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ getAuthorViaReq wp v =
169169

170170
getAuthorsViaReq :: Wordpress b -> Object -> IO [WPPerson]
171171
getAuthorsViaReq wp v =
172-
do let mAuthorId = parseMaybe (\obj -> obj .: "authors") v :: Maybe [T.Text]
172+
do let mAuthorId = parseMaybe (\obj -> obj .: "authors") v :: Maybe [Int]
173173
case mAuthorId of
174174
Nothing -> return []
175175
Just authorIds ->

0 commit comments

Comments
 (0)