From 9ffd965069f2933666a727a128cb66aa8634fd7c Mon Sep 17 00:00:00 2001 From: Mohamed Marrouchi Date: Mon, 24 Mar 2025 12:16:11 +0100 Subject: [PATCH] fix: use enum --- api/src/chat/helpers/envelope-factory.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/chat/helpers/envelope-factory.spec.ts b/api/src/chat/helpers/envelope-factory.spec.ts index a334104c..6f9611d2 100644 --- a/api/src/chat/helpers/envelope-factory.spec.ts +++ b/api/src/chat/helpers/envelope-factory.spec.ts @@ -184,12 +184,12 @@ describe('EnvelopeFactory', () => { const input = "Choose {{context.user.first_name}}'s option"; const quickReplies = [ { - content_type: 'text', + content_type: QuickReplyType.text, title: 'Yes {{contact.company_name}}', payload: 'do_{{context.user.id}}', }, { - content_type: 'text', + content_type: QuickReplyType.text, title: 'No {{contact.company_name}}', payload: 'dont_{{context.user.id}}', },