mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-11 02:49:36 -06:00
feat/change variable messageGroupId
This commit is contained in:
parent
025b183ebf
commit
7486d22ed1
@ -163,7 +163,7 @@ export class SqsController extends EventController implements EventControllerInt
|
|||||||
message.dataType = 's3';
|
message.dataType = 's3';
|
||||||
}
|
}
|
||||||
|
|
||||||
const messageGroupId = sqsConfig.GLOBAL_ENABLED ? `${serverConfig.NAME}-${instanceName}` : 'evolution';
|
const messageGroupId = sqsConfig.GLOBAL_ENABLED ? `${serverConfig.NAME}-${eventFormatted}-${instanceName}` : 'evolution';
|
||||||
const isGlobalEnabled = sqsConfig.GLOBAL_ENABLED;
|
const isGlobalEnabled = sqsConfig.GLOBAL_ENABLED;
|
||||||
const params = {
|
const params = {
|
||||||
MessageBody: JSON.stringify(message),
|
MessageBody: JSON.stringify(message),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user