Merge branch 'remake-remodel-2' of git.pleroma.social:pleroma/pleroma into remake-remodel-2
This commit is contained in:
commit
ee979dd6d7
|
@ -26,8 +26,7 @@ def validate(%{"type" => "Like"} = object, meta) do
|
||||||
|
|
||||||
def stringify_keys(object) do
|
def stringify_keys(object) do
|
||||||
object
|
object
|
||||||
|> Enum.map(fn {key, val} -> {to_string(key), val} end)
|
|> Map.new(fn {key, val} -> {to_string(key), val} end)
|
||||||
|> Enum.into(%{})
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def fetch_actor_and_object(object) do
|
def fetch_actor_and_object(object) do
|
||||||
|
|
Loading…
Reference in New Issue