mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-27 05:35:06 +01:00
common_fixes: Remove Utils.make_date call
This commit is contained in:
parent
c9d6638461
commit
2f8c3c842d
@ -11,7 +11,6 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.CommonFixes do
|
|||||||
Utils.create_context(data["context"] || data["conversation"])
|
Utils.create_context(data["context"] || data["conversation"])
|
||||||
|
|
||||||
data
|
data
|
||||||
|> Map.put_new_lazy("published", &Utils.make_date/0)
|
|
||||||
|> Map.put_new("context", context)
|
|> Map.put_new("context", context)
|
||||||
|> Map.put_new("context_id", context_id)
|
|> Map.put_new("context_id", context_id)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user