Skip to content

Commit

Permalink
Added definition
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairov committed Dec 16, 2016
1 parent b440198 commit 1e50e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/triggers/consume.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function processAction(msg, cfg) {
autoDelete: true
});

for(key of keys) {
for(let key of keys) {
console.log(`Binding queue to exchange queue=${queueName} exchange=${amqpExchange} bindingKey=${key}`);
yield channel.bindQueue(queueName, amqpExchange, key);
}
Expand Down

0 comments on commit 1e50e4a

Please sign in to comment.