From 0f8da74dc5d83d54c239e65a5610e476da0343f5 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Mon, 25 Sep 2023 04:07:31 +0200 Subject: [PATCH] upd: try fetching from db --- packages/megalodon/src/misskey/api_client.ts | 2 +- packages/megalodon/src/misskey/entities/user.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/megalodon/src/misskey/api_client.ts b/packages/megalodon/src/misskey/api_client.ts index 926c0da2a..009b0f29e 100644 --- a/packages/megalodon/src/misskey/api_client.ts +++ b/packages/megalodon/src/misskey/api_client.ts @@ -88,7 +88,7 @@ namespace MisskeyAPI { suspended: null, limited: null, created_at: '', - createdAt: '', + createdAt: u.createdAt, followers_count: 0, following_count: 0, statuses_count: 0, diff --git a/packages/megalodon/src/misskey/entities/user.ts b/packages/megalodon/src/misskey/entities/user.ts index 78745c20d..4a1db07ea 100644 --- a/packages/megalodon/src/misskey/entities/user.ts +++ b/packages/megalodon/src/misskey/entities/user.ts @@ -5,6 +5,7 @@ namespace MisskeyEntity { id: string name: string username: string + createdAt?: string host: string | null avatarUrl: string avatarColor: string