From 4abdf6f7a6bc41e67a1da50e044289a83c9e5a0d Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Mon, 25 Sep 2023 16:42:21 +0200 Subject: [PATCH] fix: some timelines not getting proper host --- packages/megalodon/src/misskey.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/megalodon/src/misskey.ts b/packages/megalodon/src/misskey.ts index 36100a1cc..6c2797695 100644 --- a/packages/megalodon/src/misskey.ts +++ b/packages/megalodon/src/misskey.ts @@ -1748,7 +1748,7 @@ export default class Misskey implements MegalodonInterface { } return this.client .post>('/api/notes/user-list-timeline', params) - .then(res => ({ ...res, data: res.data.map(n => MisskeyAPI.Converter.note(n)) })) + .then(res => ({ ...res, data: res.data.map(n => MisskeyAPI.Converter.note(n, this.baseUrl)) })) } // ======================================