fix: adjusts in connection

This commit is contained in:
Davidson Gomes
2023-12-08 18:44:52 -03:00
parent 41b2946cdc
commit 9a5dbe055e
3 changed files with 13 additions and 12 deletions

View File

@@ -78,10 +78,6 @@ export type Websocket = {
ENABLED: boolean;
};
export type Chatwoot = {
USE_REPLY_ID: boolean;
};
export type EventsWebhook = {
APPLICATION_STARTUP: boolean;
QRCODE_UPDATED: boolean;
@@ -154,7 +150,6 @@ export interface Env {
TYPEBOT: Typebot;
AUTHENTICATION: Auth;
PRODUCTION?: Production;
CHATWOOT?: Chatwoot;
}
export type Key = keyof Env;
@@ -323,9 +318,6 @@ export class ConfigService {
SECRET: process.env.AUTHENTICATION_JWT_SECRET || 'L=0YWt]b2w[WF>#>:&E`',
},
},
CHATWOOT: {
USE_REPLY_ID: process.env?.USE_REPLY_ID === 'true',
},
};
}
}