mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-15 19:52:54 -06:00
fix: update typebot, openai and dify
This commit is contained in:
parent
671b677569
commit
7ad96f54ca
@ -1,4 +1,4 @@
|
||||
# 2.0.6-rc (release candidate)
|
||||
# 2.0.6-rc (2024-08-02 19:23)
|
||||
|
||||
### Features
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
### Fixed
|
||||
|
||||
* fetchInstances with clientName parameter
|
||||
* fixed update typebot, openai and dify
|
||||
|
||||
# 2.0.5-rc (2024-08-01 18:01)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "evolution-api",
|
||||
"version": "2.0.5-rc",
|
||||
"version": "2.0.6-rc",
|
||||
"description": "Rest api for communication with WhatsApp",
|
||||
"main": "./dist/src/main.js",
|
||||
"scripts": {
|
||||
|
@ -248,6 +248,7 @@ export class DifyService {
|
||||
if (checkDuplicate) {
|
||||
throw new Error('Trigger already exists');
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
const dify = await this.prismaRepository.dify.update({
|
||||
@ -281,7 +282,6 @@ export class DifyService {
|
||||
throw new Error('Error updating dify');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async find(instance: InstanceDto): Promise<any> {
|
||||
const instanceId = await this.prismaRepository.instance
|
||||
|
@ -394,6 +394,7 @@ export class OpenaiService {
|
||||
if (checkDuplicate) {
|
||||
throw new Error('Trigger already exists');
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
const openaiBot = await this.prismaRepository.openaiBot.update({
|
||||
@ -432,7 +433,6 @@ export class OpenaiService {
|
||||
throw new Error('Error updating openai bot');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async find(instance: InstanceDto): Promise<any> {
|
||||
const instanceId = await this.prismaRepository.instance
|
||||
|
@ -248,6 +248,7 @@ export class TypebotService {
|
||||
if (checkDuplicate) {
|
||||
throw new Error('Trigger already exists');
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
const typebot = await this.prismaRepository.typebot.update({
|
||||
@ -279,7 +280,6 @@ export class TypebotService {
|
||||
throw new Error('Error updating typebot');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async find(instance: InstanceDto): Promise<any> {
|
||||
const instanceId = await this.prismaRepository.instance
|
||||
|
Loading…
Reference in New Issue
Block a user