We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9f6753 commit 878ba5aCopy full SHA for 878ba5a
src/config/env.config.ts
@@ -224,8 +224,8 @@ export class ConfigService {
224
COLOR: process.env?.LOG_COLOR === 'true',
225
BAILEYS: (process.env?.LOG_BAILEYS as LogBaileys) || 'error',
226
},
227
- DEL_INSTANCE: isBooleanString(process.env?.DEL_INSTANCE)
228
- ? process.env.DEL_INSTANCE === 5
+ DEL_INSTANCE: process.env?.DEL_INSTANCE === 'true'
+ ? 5
229
: Number.parseInt(process.env.DEL_INSTANCE) || false,
230
WEBHOOK: {
231
GLOBAL: {
0 commit comments