Skip to content

Commit bcaad30

Browse files
committed
feat: add inserted_at to api recent posts
1 parent 66ec669 commit bcaad30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/tilex_web/views/api/post_view.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ defmodule TilexWeb.Api.PostView do
1414
slug: post.slug,
1515
title: post.title,
1616
developer_username: post.developer.username,
17-
channel_name: post.channel.name
17+
channel_name: post.channel.name,
18+
inserted_at: post.inserted_at
1819
}
1920
end
2021

0 commit comments

Comments
 (0)