forked from AkkomaGang/akkoma
use correct arity .post.
This commit is contained in:
parent
6a184115a2
commit
4ba6746820
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ defp send_to_user(%{info: %{"salmon" => salmon}}, feed, poster) do
|
||||||
|
|
||||||
defp send_to_user(_,_,_), do: nil
|
defp send_to_user(_,_,_), do: nil
|
||||||
|
|
||||||
def publish(user, activity, poster \\ &@httpoison.post/3)
|
def publish(user, activity, poster \\ &@httpoison.post/4)
|
||||||
def publish(%{info: %{"keys" => keys}} = user, activity, poster) do
|
def publish(%{info: %{"keys" => keys}} = user, activity, poster) do
|
||||||
feed = ActivityRepresenter.to_simple_form(activity, user, true)
|
feed = ActivityRepresenter.to_simple_form(activity, user, true)
|
||||||
|> ActivityRepresenter.wrap_with_entry
|
|> ActivityRepresenter.wrap_with_entry
|
||||||
|
|
Loading…
Reference in a new issue