feat: v2 rewrite — hexagonal arch, ActivityPub federation, NATS, deployment-ready #1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user