Skip to content
Snippets Groups Projects
Commit b89201e3 authored by Markus Grigull's avatar Markus Grigull
Browse files

Fix amqp action headers if no uuid was set

parent 8f0b2b17
No related branches found
No related tags found
No related merge requests found
...@@ -165,6 +165,8 @@ class AMQPClient { ...@@ -165,6 +165,8 @@ class AMQPClient {
if (uuid != null) { if (uuid != null) {
opts.headers.uuid = uuid; opts.headers.uuid = uuid;
} else {
opts.headers.category = 'simulator';
} }
this._channel.publish(VILLAS_EXCHANGE, '', new Buffer(JSON.stringify(data)), opts); this._channel.publish(VILLAS_EXCHANGE, '', new Buffer(JSON.stringify(data)), opts);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment