[mastodon-client] Fix created_at field on user objects

This commit is contained in:
Laura Hausmann 2023-09-24 18:09:40 +02:00
parent 05c32e719c
commit ba5bcbb16c
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605

View File

@ -45,7 +45,7 @@ export class UserConverter {
acct: acct, acct: acct,
display_name: u.name || u.username, display_name: u.name || u.username,
locked: u.isLocked, locked: u.isLocked,
created_at: new Date().toISOString(), created_at: u.createdAt.toISOString(),
followers_count: u.followersCount, followers_count: u.followersCount,
following_count: u.followingCount, following_count: u.followingCount,
statuses_count: u.notesCount, statuses_count: u.notesCount,