Skip to content

Commit 5bc33ac

Browse files
Merge pull request #88 from moskoweb/patch-5
Correção de Erro
2 parents b9f6753 + 878ba5a commit 5bc33ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/env.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ export class ConfigService {
224224
COLOR: process.env?.LOG_COLOR === 'true',
225225
BAILEYS: (process.env?.LOG_BAILEYS as LogBaileys) || 'error',
226226
},
227-
DEL_INSTANCE: isBooleanString(process.env?.DEL_INSTANCE)
228-
? process.env.DEL_INSTANCE === 5
227+
DEL_INSTANCE: process.env?.DEL_INSTANCE === 'true'
228+
? 5
229229
: Number.parseInt(process.env.DEL_INSTANCE) || false,
230230
WEBHOOK: {
231231
GLOBAL: {

0 commit comments

Comments
 (0)