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