mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-05 14:23:08 +02: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.bot !== undefined) {
|
||||
params = Object.assign(params, {
|
||||
isBot: options.bot
|
||||
isBot: options.bot ? true : false
|
||||
})
|
||||
}
|
||||
if (options.display_name) {
|
||||
|
|
Loading…
Reference in a new issue