From: Alexander Strizhakov Date: Fri, 24 Apr 2020 06:57:30 +0000 (+0300) Subject: bench sync X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=375ab05234a3590c161a2a5a4f715fbc61dafb34;p=akkoma bench sync --- diff --git a/benchmarks/load_testing/activities.ex b/benchmarks/load_testing/activities.ex index 2b032943b..482e42fc1 100644 --- a/benchmarks/load_testing/activities.ex +++ b/benchmarks/load_testing/activities.ex @@ -279,7 +279,7 @@ defmodule Pleroma.LoadTesting.Activities do actor = get_actor(group, user, friends, non_friends) with activity_id when not is_nil(activity_id) <- get_random_create_activity_id(), - {:ok, _activity, _object} <- CommonAPI.favorite(activity_id, actor) do + {:ok, _activity} <- CommonAPI.favorite(actor, activity_id) do :ok else {:error, _} ->