Procházet zdrojové kódy

Forgotten argument fix

master
Eugen Rochko před 8 roky
rodič
revize
784b9cca6a
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      app/services/process_interaction_service.rb

+ 2
- 2
app/services/process_interaction_service.rb Zobrazit soubor

@@ -28,7 +28,7 @@ class ProcessInteractionService
when :post
add_post!(body, account) if mentions_account?(xml, target_account)
when :share
add_post!(body, account) unless status.nil?
add_post!(body, account) unless status(xml).nil?
end
end
end
@@ -59,7 +59,7 @@ class ProcessInteractionService
end

def favourite!(xml, from_account)
status.favourites.first_or_create!(account: from_account)
status(xml).favourites.first_or_create!(account: from_account)
end

def add_post!(body, account)


Načítá se…
Zrušit
Uložit