Skip to content

Commit

Permalink
fix: catalog client chat history [WTEL-5515](https://webitel.atlassia…
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed Nov 22, 2024
1 parent c7853f5 commit 1daec47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webitel/ui-sdk",
"version": "24.12.3",
"version": "24.12.4",
"private": false,
"scripts": {
"dev": "vite",
Expand Down
1 change: 1 addition & 0 deletions src/api/clients/catalog/catalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const catalogService = new CatalogApiFactory(configuration, '', instance);

const getChatMessagesList = async ({ chatId }) => {
const mergeMessagesData = ({ messages, peers }) => {
if (!messages) return [];
return messages.map(({ from, ...message }) => {
return {
...message,
Expand Down

0 comments on commit 1daec47

Please sign in to comment.