From c18c823c95c11fa4c40e02ff2e4f768ab6581e5c Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Mon, 25 Sep 2023 21:30:50 +0200 Subject: [PATCH] fix: megalodon posting to incorrect url --- 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 7870488303..5640ce19b1 100644 --- a/packages/megalodon/src/misskey.ts +++ b/packages/megalodon/src/misskey.ts @@ -256,7 +256,7 @@ export default class Misskey implements MegalodonInterface { } } } - return this.client.post('/api/i', params).then(res => { + return this.client.post('/api/i/update', params).then(res => { return Object.assign(res, { data: MisskeyAPI.Converter.userDetail(res.data) })