fix(typebot): update instance query to use instanceName instead of instanceId

This commit is contained in:
KokeroO 2025-06-26 14:05:28 -03:00
parent e86b6463fd
commit e4f7856ca9

View File

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