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.
package/dist/comprodls-sdk.js
CHANGED
|
@@ -12872,7 +12872,7 @@ function _cleanup(pubnubCW) { pubnubCW.cleanup(); }
|
|
|
12872
12872
|
function grantByUserOrgId(options) {
|
|
12873
12873
|
var dfd = q.defer(); // Initializing promise
|
|
12874
12874
|
var allowedChannels = ['jobs', 'systemevents'];
|
|
12875
|
-
var baseChannelName = "o-" + this.orgId + "\\$u-" + this.token + "\\$";
|
|
12875
|
+
var baseChannelName = "o-" + this.orgId + "\\$u-" + this.token.access_token + "\\$";
|
|
12876
12876
|
var patterns = [];
|
|
12877
12877
|
for(var i in allowedChannels) {
|
|
12878
12878
|
var channelName = baseChannelName + allowedChannels[i] + "\\..*";
|