🐛 fix typing

This commit is contained in:
Flam3rboy
2021-10-09 14:00:28 +02:00
parent 77aab2bdd3
commit 83332fab42
2 changed files with 3 additions and 2 deletions
@@ -9,7 +9,7 @@ router.post("/", route({ permission: "SEND_MESSAGES" }), async (req: Request, re
const user_id = req.user_id;
const timestamp = Date.now();
const channel = await Channel.findOneOrFail({ id: channel_id });
const member = await Member.findOneOrFail({ where: { id: user_id }, relations: ["roles"] });
const member = await Member.findOneOrFail({ where: { id: user_id }, relations: ["roles", "user"] });
await emitEvent({
event: "TYPING_START",