feat: more fixes; finish account api types for now; add some more useful fields to it

This commit is contained in:
nullishamy 2025-04-28 19:23:56 +01:00
parent 76fb8838c2
commit 62931ee20b
Signed by: amy
SSH key fingerprint: SHA256:WmV0uk6WgAQvDJlM8Ld4mFPHZo02CLXXP5VkwQ5xtyk
10 changed files with 168 additions and 65 deletions

View file

@ -45,6 +45,7 @@ pub async fn home(
u.username, u.display_name, u.actor_id, p.created_at, p.boosted_post_id
FROM post p
INNER JOIN user u on p.user_id = u.id
ORDER BY datetime(p.created_at) DESC
"#
)
.fetch_all(&mut **db)