mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-09 01:49:37 -06:00
style(sqs): format messageGroupId assignment for improved readability
This commit is contained in:
parent
b514fab30e
commit
00780157db
@ -163,7 +163,9 @@ export class SqsController extends EventController implements EventControllerInt
|
||||
message.dataType = 's3';
|
||||
}
|
||||
|
||||
const messageGroupId = sqsConfig.GLOBAL_ENABLED ? `${serverConfig.NAME}-${eventFormatted}-${instanceName}` : 'evolution';
|
||||
const messageGroupId = sqsConfig.GLOBAL_ENABLED
|
||||
? `${serverConfig.NAME}-${eventFormatted}-${instanceName}`
|
||||
: 'evolution';
|
||||
const isGlobalEnabled = sqsConfig.GLOBAL_ENABLED;
|
||||
const params = {
|
||||
MessageBody: JSON.stringify(message),
|
||||
|
||||
@ -536,7 +536,7 @@ export class ConfigService {
|
||||
REMOVE_INSTANCE: process.env?.SQS_GLOBAL_REMOVE_INSTANCE === 'true',
|
||||
SEND_MESSAGE: process.env?.SQS_GLOBAL_SEND_MESSAGE === 'true',
|
||||
TYPEBOT_CHANGE_STATUS: process.env?.SQS_GLOBAL_TYPEBOT_CHANGE_STATUS === 'true',
|
||||
TYPEBOT_START: process.env?.SQS_GLOBAL_TYPEBOT_START === 'true'
|
||||
TYPEBOT_START: process.env?.SQS_GLOBAL_TYPEBOT_START === 'true',
|
||||
},
|
||||
},
|
||||
WEBSOCKET: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user