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 @@ def fix_defaults(data) 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