From 8ef3a300bc672b3e89f9afbd05f05b9f0018f678 Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Thu, 14 May 2026 17:44:59 +0200 Subject: [PATCH] =?UTF-8?q?fix(users):=20return=20camelCase=20from=20GET?= =?UTF-8?q?=20/users=20list=20=E2=80=94=20UserSummary=20was=20snake=5Fcase?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/presentation/src/handlers/users.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/crates/presentation/src/handlers/users.rs b/crates/presentation/src/handlers/users.rs index 38b098f..6330b4e 100644 --- a/crates/presentation/src/handlers/users.rs +++ b/crates/presentation/src/handlers/users.rs @@ -148,12 +148,14 @@ pub async fn get_users( serde_json::json!({ "id": u.id.as_uuid(), "username": u.username, - "display_name": u.display_name, - "avatar_url": u.avatar_url, + "displayName": u.display_name, + "avatarUrl": u.avatar_url, "bio": u.bio, - "thought_count": u.thought_count, - "follower_count": u.follower_count, - "following_count": u.following_count, + "headerUrl": null, + "customCss": null, + "local": true, + "isFollowedByViewer": false, + "joinedAt": null, }) }) .collect();