fix: isBot must be boolean

This commit is contained in:
Mar0xy 2023-09-25 23:14:49 +02:00
parent 2b1e6eb180
commit c273512b56
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828

View File

@ -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) {