mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 15:05:45 +00:00
Apply suggestion to lib/pleroma/web/activity_pub/object_validator.ex
This commit is contained in:
parent
f316882464
commit
d7aa0b645b
|
@ -26,8 +26,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidator do
|
|||
|
||||
def stringify_keys(object) do
|
||||
object
|
||||
|> Enum.map(fn {key, val} -> {to_string(key), val} end)
|
||||
|> Enum.into(%{})
|
||||
|> Map.new(fn {key, val} -> {to_string(key), val} end)
|
||||
end
|
||||
|
||||
def fetch_actor_and_object(object) do
|
||||
|
|
Loading…
Reference in a new issue