diff --git a/packages/pl-fe/src/queries/chats.ts b/packages/pl-fe/src/queries/chats.ts index 1ad2bb1f3..e617ab771 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, }),