Skip to content

Commit 67a19ab

Browse files
committed
update
1 parent 57853f1 commit 67a19ab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

client/src/components/pages/flow-detail/test-your-bot.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ const TestYourBot = () => {
2020
'fixed right-4 z-10 rounded-md shadow w-80 transition-transform duration-300 bottom-4 flex flex-col gap-4 bg-white h-[500px]',
2121
)}
2222
>
23-
<ChatBox channelId={channel.contactId} className='h-full w-full' />
23+
<ChatBox channelId={channel.contactId} className='h-full w-full'
24+
isTest
25+
/>
2426
</div>
2527
)
2628
)

server/src/channels/web.channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class WebChannel extends BaseChannel {
2828
channelData: any;
2929
}) {
3030
try {
31-
let result = { userId, messages: text || '', template: {} };
31+
let result = { userId, message: text || '', template: {} };
3232

3333
if (channelData) {
3434
result.template = {

0 commit comments

Comments
 (0)