common_fixes: Remove Utils.make_date call
This commit is contained in:
parent
c9d6638461
commit
2f8c3c842d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue