Skip to content

Commit

Permalink
removed topic in subscribe call
Browse files Browse the repository at this point in the history
  • Loading branch information
VladRomero committed Jun 12, 2017
1 parent 71f79ea commit 584a9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/BarracksMessagingSDKProxy.js
Expand Up @@ -33,7 +33,7 @@ class BarracksMessagingSDKProxy {
console.log('On Reconnect');
}
});
barracksMessenger.subscribe(apiKey + '.' + unitId, function (messageReceived) {
barracksMessenger.subscribe(function (messageReceived) {
console.log('Received: ' + messageReceived.payload);
console.log('retain : ' + messageReceived.retained);
console.log('topic : ' + messageReceived.topic);
Expand Down

0 comments on commit 584a9cd

Please sign in to comment.