mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 17:35:12 +00:00
fix: isBot must be boolean
This commit is contained in:
parent
2b1e6eb180
commit
c273512b56
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ export default class Misskey implements MegalodonInterface {
|
||||||
if (options) {
|
if (options) {
|
||||||
if (options.bot !== undefined) {
|
if (options.bot !== undefined) {
|
||||||
params = Object.assign(params, {
|
params = Object.assign(params, {
|
||||||
isBot: options.bot
|
isBot: options.bot ? true : false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (options.display_name) {
|
if (options.display_name) {
|
||||||
|
|
Loading…
Reference in a new issue