about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-08-14 11:50:56 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-08-14 04:50:56 +0200
commit96e9ed13ded6def1d96260178ee9d9e7ad3e5d23 (patch)
tree01a44ac259e3a24431843af21ed2a85a606e22fd
parent6df8bd277b52b3ac025597ec08ee9e342a8eb32c (diff)
Fix search (regression from #4589) (#4594)
-rw-r--r--app/services/fetch_remote_resource_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/fetch_remote_resource_service.rb b/app/services/fetch_remote_resource_service.rb
index 2c1c1f05f..6e5830b0d 100644
--- a/app/services/fetch_remote_resource_service.rb
+++ b/app/services/fetch_remote_resource_service.rb
@@ -31,7 +31,7 @@ class FetchRemoteResourceService < BaseService
   end
 
   def body
-    fetched_atom_feed.last
+    fetched_atom_feed.second
   end
 
   def xml_root