Browse Source

Merge branch 'remake-remodel-2' of git.pleroma.social:pleroma/pleroma into remake-remodel-2

debug-remote-ip
lain 4 years ago
parent
commit
ee979dd6d7
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      lib/pleroma/web/activity_pub/object_validator.ex

+ 1
- 2
lib/pleroma/web/activity_pub/object_validator.ex View File

@@ -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…
Cancel
Save