Skip to content

Commit 686065a

Browse files
committed
tidy and publish
1 parent bf97a6a commit 686065a

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Publish
22

3-
# on: push
3+
on: push
44

55
jobs:
66
publish:

packages/salesforce/src/Adaptor.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,6 @@ const connect = async state => {
9696
new Connection({ loginUrl, version }),
9797
);
9898

99-
// Workaround for https://github.com/jsforce/jsforce/issues/1806
100-
const transport = connection._transport;
101-
const originalHttpRequest = transport.httpRequest.bind(transport);
102-
transport.httpRequest = (req, options) => {
103-
req.headers = { ...req.headers, connection: 'close' };
104-
return originalHttpRequest(req, options);
105-
};
106-
10799
console.info(`Attempting Salesforce connection for user: ${username}`);
108100

109101
// Simple, direct login without extra Promise wrapping

0 commit comments

Comments
 (0)