Added the bot param
This commit is contained in:
parent
f93e348841
commit
1727c62317
@ -17,6 +17,7 @@ router.get("/", async (req: Request, res: Response) => {
|
|||||||
public_flags: user.public_flags,
|
public_flags: user.public_flags,
|
||||||
avatar: user.avatar,
|
avatar: user.avatar,
|
||||||
bio: req.user_bot ? null : user.bio,
|
bio: req.user_bot ? null : user.bio,
|
||||||
|
bot: user.bot,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -17,6 +17,7 @@ router.get("/", async (req: Request, res: Response) => {
|
|||||||
public_flags: user.public_flags,
|
public_flags: user.public_flags,
|
||||||
avatar: user.avatar,
|
avatar: user.avatar,
|
||||||
bio: user.bio,
|
bio: user.bio,
|
||||||
|
bot: user.bot,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user