mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-18 19:32:21 -06:00
style(sqs): format messageGroupId assignment for improved readability
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user