mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-21 11:37:23 -06:00
Correção de Erro
```This comparison appears to be unintentional because the types 'string' and 'number' have no overlap.```
This commit is contained in:
parent
b9f67533dd
commit
878ba5a869
@ -224,8 +224,8 @@ export class ConfigService {
|
|||||||
COLOR: process.env?.LOG_COLOR === 'true',
|
COLOR: process.env?.LOG_COLOR === 'true',
|
||||||
BAILEYS: (process.env?.LOG_BAILEYS as LogBaileys) || 'error',
|
BAILEYS: (process.env?.LOG_BAILEYS as LogBaileys) || 'error',
|
||||||
},
|
},
|
||||||
DEL_INSTANCE: isBooleanString(process.env?.DEL_INSTANCE)
|
DEL_INSTANCE: process.env?.DEL_INSTANCE === 'true'
|
||||||
? process.env.DEL_INSTANCE === 5
|
? 5
|
||||||
: Number.parseInt(process.env.DEL_INSTANCE) || false,
|
: Number.parseInt(process.env.DEL_INSTANCE) || false,
|
||||||
WEBHOOK: {
|
WEBHOOK: {
|
||||||
GLOBAL: {
|
GLOBAL: {
|
||||||
|
Loading…
Reference in New Issue
Block a user