fix: isBot must be boolean
This commit is contained in:
parent
2b1e6eb180
commit
c273512b56
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user