Fix chats

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-10-21 20:35:52 +02:00
parent 5a6aa60d2c
commit 47c190cd16

View file

@ -181,7 +181,7 @@ const useChatActions = (chatId: string) => {
chat_id: variables.chatId,
content: variables.content,
id: pendingId,
created_at: new Date(),
created_at: new Date().toISOString(),
account_id: account?.id,
unread: true,
}),