Skip to content

Commit c0d9c1f

Browse files
committed
update
1 parent d3b6acb commit c0d9c1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/channels/base.channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ export class BaseChannel {
3636
recipient: {
3737
id: this.contactId,
3838
},
39+
testBot: isTest || false,
3940
data: data || false,
4041
text: message,
4142
type: 'message',
4243
id: uid,
4344
channelId: this.channelType,
44-
isTest,
4545
serviceUrl: PUBLIC_DOMAIN,
4646
},
4747
})

server/src/services/flows.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export class FlowService {
280280
flow = await db.query.flows.findFirst({
281281
where: and(
282282
eq(flows.id, channel?.flowId),
283-
isNotNull(flow.publishAt)
283+
isNotNull(flows.publishAt)
284284
),
285285
});
286286
}

0 commit comments

Comments
 (0)