From 2c2432b0df5aa8eac4d34287594f5dc2f5fd741e Mon Sep 17 00:00:00 2001 From: Bartosz Olchowka Date: Thu, 19 Mar 2020 16:28:36 +0100 Subject: [PATCH] fixed groupID type from string to number --- README.md | 2 +- src/widgets/shared/customer-profile.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a2920b9..2d17e0c 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ interface ICustomerProfile { email?: string; chat: { id?: string; - groupID: string; + groupID: number; preChatSurvey: { question: string; answer: string }[]; }; source: 'chats' | 'archives' | 'customers'; diff --git a/src/widgets/shared/customer-profile.ts b/src/widgets/shared/customer-profile.ts index 65f7bd8..f8b0adb 100644 --- a/src/widgets/shared/customer-profile.ts +++ b/src/widgets/shared/customer-profile.ts @@ -15,7 +15,7 @@ export interface ICustomerProfile { email?: string; chat: { id: string; - groupID: string; + groupID: number; preChatSurvey?: { question: string; answer: string }[]; }; source: 'chats' | 'archives' | 'customers';