common_fixes: Remove Utils.make_date call

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-08-18 02:12:13 +02:00
parent c9d6638461
commit 2f8c3c842d
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE

View File

@ -11,7 +11,6 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.CommonFixes do
Utils.create_context(data["context"] || data["conversation"])
data
|> Map.put_new_lazy("published", &Utils.make_date/0)
|> Map.put_new("context", context)
|> Map.put_new("context_id", context_id)
end