1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-09 20:22:47 +01:00

typingstart timestamp needs to be seconds

This commit is contained in:
Puyodead1 2023-12-05 11:10:12 -05:00
parent 26e3b47f4f
commit 7cf8c68459
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC

View File

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