diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-06-04 21:33:16 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-06-04 21:36:26 +0400 |
commit | 317e2b8d6126d86eafb493fe6c3b7a29af65ee21 (patch) | |
tree | 539ba5d42509ecf63df3ddefcfd76fce27bc52fc /benchmarks/mix | |
parent | f5cb1f3616e9cb9430038697532eb49161937dec (diff) | |
download | pleroma-317e2b8d6126d86eafb493fe6c3b7a29af65ee21.tar.gz |
Use atoms as keys in `ActivityPub.fetch_*` functions options
Diffstat (limited to 'benchmarks/mix')
-rw-r--r-- | benchmarks/mix/tasks/pleroma/benchmarks/tags.ex | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/benchmarks/mix/tasks/pleroma/benchmarks/tags.ex b/benchmarks/mix/tasks/pleroma/benchmarks/tags.ex index 1162b2e06..c051335a5 100644 --- a/benchmarks/mix/tasks/pleroma/benchmarks/tags.ex +++ b/benchmarks/mix/tasks/pleroma/benchmarks/tags.ex @@ -100,14 +100,14 @@ defmodule Mix.Tasks.Pleroma.Benchmarks.Tags do _activities = params - |> Map.put("type", "Create") - |> Map.put("local_only", local_only) - |> Map.put("blocking_user", user) - |> Map.put("muting_user", user) - |> Map.put("user", user) - |> Map.put("tag", tags) - |> Map.put("tag_all", tag_all) - |> Map.put("tag_reject", tag_reject) + |> Map.put(:type, "Create") + |> Map.put(:local_only, local_only) + |> Map.put(:blocking_user, user) + |> Map.put(:muting_user, user) + |> Map.put(:user, user) + |> Map.put(:tag, tags) + |> Map.put(:tag_all, tag_all) + |> Map.put(:tag_reject, tag_reject) |> Pleroma.Web.ActivityPub.ActivityPub.fetch_public_activities() end end |