aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/mix
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-06-04 21:33:16 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-06-04 21:36:26 +0400
commit317e2b8d6126d86eafb493fe6c3b7a29af65ee21 (patch)
tree539ba5d42509ecf63df3ddefcfd76fce27bc52fc /benchmarks/mix
parentf5cb1f3616e9cb9430038697532eb49161937dec (diff)
downloadpleroma-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.ex16
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