From ecdf56d1ade5c5b3a4118c04f5a83dac96af2b75 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Mon, 25 Sep 2023 06:04:23 +0200 Subject: [PATCH] revert: description fetching --- packages/megalodon/src/misskey/api_client.ts | 2 +- packages/megalodon/src/misskey/entities/user.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/megalodon/src/misskey/api_client.ts b/packages/megalodon/src/misskey/api_client.ts index d49a7b725..ce34ebaf5 100644 --- a/packages/megalodon/src/misskey/api_client.ts +++ b/packages/megalodon/src/misskey/api_client.ts @@ -91,7 +91,7 @@ namespace MisskeyAPI { followers_count: u.followersCount ? u.followersCount : 0, following_count: u.followingCount ? u.followingCount : 0, statuses_count: u.notesCount ? u.notesCount : 0, - note: u.description !== null || undefined ? u.description as string : '', + note: '', url: u.host ? `https://${u.host}/@${u.username}` : host ? `https://${host}/@${u.username}` : acct, avatar: u.avatarUrl, avatar_static: u.avatarColor, diff --git a/packages/megalodon/src/misskey/entities/user.ts b/packages/megalodon/src/misskey/entities/user.ts index 441e0056f..4c2f8adcf 100644 --- a/packages/megalodon/src/misskey/entities/user.ts +++ b/packages/megalodon/src/misskey/entities/user.ts @@ -5,7 +5,6 @@ namespace MisskeyEntity { id: string name: string username: string - description?: string createdAt?: string followingCount?: number followersCount?: number