diff options
Diffstat (limited to 'AppleDocHandler.cs')
-rw-r--r-- | AppleDocHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AppleDocHandler.cs b/AppleDocHandler.cs index a034bc1..4917cb2 100644 --- a/AppleDocHandler.cs +++ b/AppleDocHandler.cs @@ -58,7 +58,7 @@ namespace macdoc // This method transforms the Atom XML data into a POCO for the the most recent item of the feed AppleDocInformation GetLatestAppleDocInformation (XDocument feed) { - var latestEntry = feed.Descendants (atomNamespace + "entry").LastOrDefault (); + var latestEntry = feed.Descendants (atomNamespace + "entry").FirstOrDefault (); if (latestEntry == null) return null; |