From 2847f9124e5d6f52abfef42c40786ee0cca429d1 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Mon, 25 Sep 2023 00:10:47 +0200 Subject: [PATCH] upd: remove createdAt --- packages/megalodon/src/misskey/api_client.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/megalodon/src/misskey/api_client.ts b/packages/megalodon/src/misskey/api_client.ts index e1e2fd5254..ead094aca0 100644 --- a/packages/megalodon/src/misskey/api_client.ts +++ b/packages/megalodon/src/misskey/api_client.ts @@ -88,7 +88,6 @@ namespace MisskeyAPI { suspended: null, limited: null, created_at: '', - createdAt: new Date().toUTCString(), followers_count: 0, following_count: 0, statuses_count: 0, @@ -124,8 +123,7 @@ namespace MisskeyAPI { noindex: null, suspended: null, limited: null, - created_at: u.createdAt ? u.createdAt : new Date().toUTCString(), - createdAt: u.createdAt ? u.createdAt : new Date().toUTCString(), + created_at: u.createdAt, followers_count: u.followersCount, following_count: u.followingCount, statuses_count: u.notesCount,