Fix fervor item schema
This commit is contained in:
parent
306dea226c
commit
7b9956a1aa
|
@ -38,7 +38,7 @@ defmodule Frenzy.Item do
|
||||||
}
|
}
|
||||||
|
|
||||||
if item.date do
|
if item.date do
|
||||||
Map.put(res, :created_at, DateTime.to_iso8601(item.date))
|
Map.put(res, :published, DateTime.to_iso8601(item.date))
|
||||||
else
|
else
|
||||||
res
|
res
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue