comprodls-sdk 2.75.3 → 2.75.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -90,7 +90,7 @@ function _cleanup(pubnubCW) { pubnubCW.cleanup(); }
|
|
|
90
90
|
function grantByUserOrgId(options) {
|
|
91
91
|
var dfd = q.defer(); // Initializing promise
|
|
92
92
|
var allowedChannels = ['jobs', 'systemevents'];
|
|
93
|
-
var baseChannelName = "o-" + this.orgId + "\\$u-" + this.token + "\\$";
|
|
93
|
+
var baseChannelName = "o-" + this.orgId + "\\$u-" + this.token.access_token + "\\$";
|
|
94
94
|
var patterns = [];
|
|
95
95
|
for(var i in allowedChannels) {
|
|
96
96
|
var channelName = baseChannelName + allowedChannels[i] + "\\..*";
|