@seidor-cloud-produtos/orbit-backend-lib 2.0.102 → 2.0.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/clean-arch/infra/consistency-event-dispatcher/amqp-consistency-event-dispatcher.js
CHANGED
|
@@ -10,7 +10,7 @@ class AmqpConsistencyEventDispatcher extends consistency_event_dispatcher_1.Cons
|
|
|
10
10
|
this.amqp = amqp;
|
|
11
11
|
}
|
|
12
12
|
async publish(event) {
|
|
13
|
-
await this.amqp.publish(`${exchanges_enum_1.PREFIX}.${event.
|
|
13
|
+
await this.amqp.publish(`${exchanges_enum_1.PREFIX}.${event.input.eventName}.${exchanges_enum_1.TYPE}`, event, {
|
|
14
14
|
storeMessageOnError: false,
|
|
15
15
|
});
|
|
16
16
|
}
|