mirror of
https://github.com/spacebarchat/server.git
synced 2024-09-22 02:31:36 +02: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,
|
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…
Reference in New Issue
Block a user