1
0
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:
BuildTools 2021-08-05 21:00:56 +03:00
parent f93e348841
commit 1727c62317
2 changed files with 2 additions and 0 deletions

View File

@ -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,
}
});
});

View File

@ -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,
}
});
});