From c273512b5677586c034cb22c6059da39c3e55867 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Mon, 25 Sep 2023 23:14:49 +0200 Subject: [PATCH] fix: isBot must be boolean --- 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 5640ce19b..8480fef7b 100644 --- a/packages/megalodon/src/misskey.ts +++ b/packages/megalodon/src/misskey.ts @@ -225,7 +225,7 @@ export default class Misskey implements MegalodonInterface { if (options) { if (options.bot !== undefined) { params = Object.assign(params, { - isBot: options.bot + isBot: options.bot ? true : false }) } if (options.display_name) {