Skip to content

Commit e4f7856

Browse files
author
KokeroO
committed
fix(typebot): update instance query to use instanceName instead of instanceId
1 parent e86b646 commit e4f7856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/integrations/chatbot/typebot/controllers/typebot.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export class TypebotController extends BaseChatbotController<TypebotModel, Typeb
119119

120120
const instanceData = await this.prismaRepository.instance.findFirst({
121121
where: {
122-
id: instance.instanceId,
122+
id: instance.instanceName,
123123
},
124124
});
125125

0 commit comments

Comments
 (0)