about summary refs log tree commit diff
path: root/app/services/favourite_service.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-12 17:28:15 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-12 17:30:15 +0100
commit720ff55262fec0abc630a613a4f3564b98b689dc (patch)
tree75a93b493dcec4cacd62f0ffcb55ad43891855c4 /app/services/favourite_service.rb
parent446267d1bfaba0f596544186361553118615e942 (diff)
Adding more unit tests. Fixing Salmon slaps XML
Diffstat (limited to 'app/services/favourite_service.rb')
-rw-r--r--app/services/favourite_service.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/services/favourite_service.rb b/app/services/favourite_service.rb
index 11585250f..7038bc222 100644
--- a/app/services/favourite_service.rb
+++ b/app/services/favourite_service.rb
@@ -31,14 +31,10 @@ class FavouriteService < BaseService
         end
 
         object_type xml, :activity
-        verb xml, :favourite
+        verb xml, :favorite
 
         target(xml) do
-          author(xml) do
-            include_author xml, favourite.status.account
-          end
-
-          include_entry xml, favourite.status.stream_entry
+          include_target xml, favourite.status
         end
       end
     end.to_xml