comprodls-sdk 2.29.0 → 2.30.0
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.
|
@@ -55,6 +55,13 @@ function pushX() {
|
|
|
55
55
|
**********************************/
|
|
56
56
|
|
|
57
57
|
function _connect(pubnubCW, options) {
|
|
58
|
+
if (!options.userid) {
|
|
59
|
+
var err = {};
|
|
60
|
+
err.message = err.description = 'Mandatory parameter userid not found in request options.';
|
|
61
|
+
err = new DLSError(helpers.errors.ERROR_TYPES.PUSHX_ERROR, err);
|
|
62
|
+
throw err;
|
|
63
|
+
}
|
|
64
|
+
|
|
58
65
|
// Adding SSL flag
|
|
59
66
|
return pubnubCW.setup({
|
|
60
67
|
'userid': options.userid,
|