[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
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

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