mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 02:33:08 +02:00
fix: make check function
This commit is contained in:
parent
c273512b56
commit
a5c1d12ae9
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 ? true : false
|
||||
isBot: options.bot.toString() === 'true' ? true : false
|
||||
})
|
||||
}
|
||||
if (options.display_name) {
|
||||
|
|
Loading…
Reference in a new issue