diff --git a/app/views/home/platform_communicates/index.json.jbuilder b/app/views/home/platform_communicates/index.json.jbuilder index 8b779984..a7d3d390 100644 --- a/app/views/home/platform_communicates/index.json.jbuilder +++ b/app/views/home/platform_communicates/index.json.jbuilder @@ -3,6 +3,6 @@ json.communicates do json.array! @communicates.each do |communicate| json.(communicate, :id, :title, :content, :fake_id) json.tag communicate.tag_field.include?(',') ? communicate.tag_field.split(",") : communicate.tag_field - json.created_time format_time(Memo.find_by(id: communicate.fake_id)&.published_time) + json.created_time format_time(Memo.find_by(id: communicate.fake_id)&.published_at) end end \ No newline at end of file