feat: camelCase JSON responses, isFollowedByViewer, customCss, GET /users/me/following-list
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m15s
test / unit (pull_request) Successful in 16m3s
test / integration (pull_request) Failing after 17m19s

This commit is contained in:
2026-05-14 17:04:42 +02:00
parent d3b7ecad15
commit aadd876994
5 changed files with 63 additions and 4 deletions

View File

@@ -14,7 +14,9 @@ pub fn to_user_response(u: &domain::models::user::User) -> UserResponse {
bio: u.bio.clone(),
avatar_url: u.avatar_url.clone(),
header_url: u.header_url.clone(),
custom_css: u.custom_css.clone(),
local: u.local,
is_followed_by_viewer: false,
created_at: u.created_at,
}
}