Skip to content

Commit d7afe5d

Browse files
author
KokeroO
committed
fix(typebot): update instance query to use instance name instead of instance ID
1 parent e4f7856 commit d7afe5d

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.instanceName,
122+
name: instance.instanceName,
123123
},
124124
});
125125

0 commit comments

Comments
 (0)