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:
parent
26e3b47f4f
commit
7cf8c68459
@ -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 },
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user