projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c296863
)
[#1149] Publisher worker fix (atomized `params` keys).
author
Ivan Tashkinov
<ivantashkinov@gmail.com>
Fri, 23 Aug 2019 13:11:39 +0000
(16:11 +0300)
committer
Ivan Tashkinov
<ivantashkinov@gmail.com>
Fri, 23 Aug 2019 13:11:39 +0000
(16:11 +0300)
lib/pleroma/workers/publisher.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/workers/publisher.ex
b/lib/pleroma/workers/publisher.ex
index 0a908458916065e049953c09f45c2c1ab51524b4..00fae99c723d949e7d32f212b9282c74ffd60494 100644
(file)
--- a/
lib/pleroma/workers/publisher.ex
+++ b/
lib/pleroma/workers/publisher.ex
@@
-18,6
+18,7
@@
defmodule Pleroma.Workers.Publisher do
end
def perform(%{"op" => "publish_one", "module" => module_name, "params" => params}, _job) do
+ params = Map.new(params, fn {k, v} -> {String.to_atom(k), v} end)
Federator.perform(:publish_one, String.to_atom(module_name), params)
end
end