fix: make check function

This commit is contained in:
Mar0xy 2023-09-25 23:20:57 +02:00
parent c273512b56
commit a5c1d12ae9
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 1 additions and 1 deletions

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 ? true : false
isBot: options.bot.toString() === 'true' ? true : false
})
}
if (options.display_name) {