Skip to content

Commit

Permalink
fixed file + one test (error test still failing)
Browse files Browse the repository at this point in the history
  • Loading branch information
VladRomero committed Jun 7, 2017
1 parent 3b9f0c2 commit e98e79a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/BarracksMessagingSDKProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class BarracksMessagingSDKProxy {
console.log('On Reconnect');
}
});
barracksMessenger.subscribe(barracksMessenger.options.apiKey + '.' + barracksMessenger.options.unitId, function(messageReceived) {
barracksMessenger.subscribe(apiKey + '.' + unitId, function(messageReceived) {
console.log('Received: ' + messageReceived.payload);
console.log('retain : ' + messageReceived.retained + ' // topic : ' + messageReceived.topic);
console.log('length: ' + messageReceived.length);
Expand Down
1 change: 0 additions & 1 deletion tests/utils/BarracksMessagingSDKProxy.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,4 @@ describe('BarracksMessagingSDKProxy', () => {
});
});
});

});

0 comments on commit e98e79a

Please sign in to comment.