From 47c190cd16bd905e8319e7c932b6d6444047f7c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 21 Oct 2024 20:35:52 +0200 Subject: [PATCH] Fix chats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/queries/chats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pl-fe/src/queries/chats.ts b/packages/pl-fe/src/queries/chats.ts index 1ad2bb1f35..e617ab7715 100644 --- a/packages/pl-fe/src/queries/chats.ts +++ b/packages/pl-fe/src/queries/chats.ts @@ -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, }),