diff --git a/packages/megalodon/src/entities/account.ts b/packages/megalodon/src/entities/account.ts index 89c0f17c4b..96d10909be 100644 --- a/packages/megalodon/src/entities/account.ts +++ b/packages/megalodon/src/entities/account.ts @@ -15,6 +15,7 @@ namespace Entity { suspended: boolean | null limited: boolean | null created_at: string + createdAt?: string followers_count: number following_count: number statuses_count: number diff --git a/packages/megalodon/src/misskey/api_client.ts b/packages/megalodon/src/misskey/api_client.ts index f7ecb3bd5b..926c0da2ab 100644 --- a/packages/megalodon/src/misskey/api_client.ts +++ b/packages/megalodon/src/misskey/api_client.ts @@ -88,6 +88,7 @@ namespace MisskeyAPI { suspended: null, limited: null, created_at: '', + createdAt: '', followers_count: 0, following_count: 0, statuses_count: 0, @@ -124,6 +125,7 @@ namespace MisskeyAPI { suspended: null, limited: null, created_at: u.createdAt, + createdAt: u.createdAt, followers_count: u.followersCount, following_count: u.followingCount, statuses_count: u.notesCount,