Fix fervor item schema

This commit is contained in:
Shadowfacts 2022-01-12 18:01:35 -05:00
parent 306dea226c
commit 7b9956a1aa
1 changed files with 1 additions and 1 deletions

View File

@ -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