diff --git a/src/api/routes/channels/#channel_id/typing.ts b/src/api/routes/channels/#channel_id/typing.ts index b5d61d74..90e78175 100644 --- a/src/api/routes/channels/#channel_id/typing.ts +++ b/src/api/routes/channels/#channel_id/typing.ts @@ -35,7 +35,7 @@ router.post( async (req: Request, res: Response) => { const { channel_id } = req.params; const user_id = req.user_id; - const timestamp = Date.now(); + const timestamp = Date.nowSeconds(); const channel = await Channel.findOneOrFail({ where: { id: channel_id }, });