exodus-framework 2.0.920 → 2.0.922
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/lib/services/rabitmq.js +1 -1
- package/package.json +1 -1
package/lib/services/rabitmq.js
CHANGED
@@ -133,7 +133,7 @@ class RabbitMQService extends _service.default {
|
|
133
133
|
const topic = msg.fields.routingKey;
|
134
134
|
const content = JSON.parse(msg.content.toString());
|
135
135
|
const callBack = this.mainRouter[topic];
|
136
|
-
if (callBack) await callBack(content.data, () => {}, content.serviceId,
|
136
|
+
if (callBack) await callBack(content.data, () => {}, content.serviceId, content.transactionId);
|
137
137
|
this.channel.ack(msg); //# the next function is temporary and not confirm ack
|
138
138
|
|
139
139
|
if (this.eventCustomListeners.has(topic)) {
|