Skip to content

Commit 65d8678

Browse files
committed
Merge branch 'bugfix/global'
2 parents d2df42d + 0ccdba8 commit 65d8678

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apps/task-handler/src/service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ while (true) {
119119
});
120120

121121
userHistory.customerName =
122-
contactList.data.result[0].contacts_name || "";
122+
contactList.data?.result[0]?.contacts_name || "-";
123123
userHistory.customerCountry =
124-
contactList.data.result[0].country_name || "";
125-
const customerGlusrId = contactList.data.result[0].contacts_glid || "";
124+
contactList.data?.result[0]?.country_name || "-";
125+
const customerGlusrId = contactList.data?.result[0]?.contacts_glid || "";
126126

127127
// console.log(`${new Date()}: Handleing message`);
128128
const sendMessageAndTrigger = await handleMessages(
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"root":["./src/ai.ts","./src/service.ts","./src/functions/algorithm.ts","./src/functions/triggerCall.ts"],"version":"5.9.2"}
1+
{"root":["./src/service.ts","./src/functions/algorithm.ts","./src/functions/triggerCall.ts"],"version":"5.9.2"}

docker/Dockerfile.task-handler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ RUN npm i
88
RUN rm -rf ./apps/backend ./apps/frontend ./apps/socket ./apps/task-scheduler ./packages/postgres_db
99
RUN npm run build
1010

11-
CMD ["npm", "run", "dev"]
11+
CMD ["npm", "run", "dev"]

0 commit comments

Comments
 (0)