fix(typebot): update instance query to use instance name instead of instance ID

This commit is contained in:
KokeroO 2025-06-26 14:53:54 -03:00
parent e4f7856ca9
commit d7afe5d7ab

View File

@ -119,7 +119,7 @@ export class TypebotController extends BaseChatbotController<TypebotModel, Typeb
const instanceData = await this.prismaRepository.instance.findFirst({
where: {
id: instance.instanceName,
name: instance.instanceName,
},
});