mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 05:02:37 +01:00
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,
|
||||
avatar: user.avatar,
|
||||
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,
|
||||
avatar: user.avatar,
|
||||
bio: user.bio,
|
||||
bot: user.bot,
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user