upd: remove createdAt

This commit is contained in:
Mar0xy 2023-09-25 00:10:47 +02:00
parent 243527b2c8
commit 2847f9124e
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828

View File

@ -88,7 +88,6 @@ namespace MisskeyAPI {
suspended: null, suspended: null,
limited: null, limited: null,
created_at: '', created_at: '',
createdAt: new Date().toUTCString(),
followers_count: 0, followers_count: 0,
following_count: 0, following_count: 0,
statuses_count: 0, statuses_count: 0,
@ -124,8 +123,7 @@ namespace MisskeyAPI {
noindex: null, noindex: null,
suspended: null, suspended: null,
limited: null, limited: null,
created_at: u.createdAt ? u.createdAt : new Date().toUTCString(), created_at: u.createdAt,
createdAt: u.createdAt ? u.createdAt : new Date().toUTCString(),
followers_count: u.followersCount, followers_count: u.followersCount,
following_count: u.followingCount, following_count: u.followingCount,
statuses_count: u.notesCount, statuses_count: u.notesCount,