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
Branches
No related tags found
No related merge requests found
......@@ -165,6 +165,8 @@ class AMQPClient {
if (uuid != null) {
opts.headers.uuid = uuid;
} else {
opts.headers.category = 'simulator';
}
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.
Please register or to comment