ws-process 0.3.33 → 0.3.35
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -527,7 +527,7 @@ function asyncSend(msg) {
|
|
|
527
527
|
const user = getState().user.currentUser;
|
|
528
528
|
const headers = {};
|
|
529
529
|
headers['bsg-support-process-id'] = msg.processID;
|
|
530
|
-
headers['bsg-support-api-key'] = user.apiKey ||
|
|
530
|
+
headers['bsg-support-api-key'] = user.apiKey || undefined;
|
|
531
531
|
headers['bsg-support-stage'] = local.stage;
|
|
532
532
|
headers['bsg-support-token'] = user.token;
|
|
533
533
|
headers['bsg-support-session'] = user.session;
|
|
@@ -1120,7 +1120,7 @@ function runProcess(processID, data) {
|
|
|
1120
1120
|
} else {
|
|
1121
1121
|
local.afterEachProcess(prcInner, local.wsProcess.processes);
|
|
1122
1122
|
|
|
1123
|
-
prcInner.reject(error);
|
|
1123
|
+
// prcInner.reject(error);
|
|
1124
1124
|
wrapClearWSProcess(error.processID);
|
|
1125
1125
|
}
|
|
1126
1126
|
});
|