Skip to content

Commit 3c65f7e

Browse files
committed
fix: node 16
1 parent 0b1b8db commit 3c65f7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/node/package.json.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
"typescript": "5.4.2"
4545
},
4646
"dependencies": {
47-
"node-fetch-native-with-agent": "1.7.1"
47+
"node-fetch-native-with-agent": "1.7.2"
4848
}
4949
}

templates/node/src/client.ts.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class Client {
161161
method,
162162
headers,
163163
credentials: 'include',
164-
...createAgent({ rejectUnauthorized: !this.config.selfSigned }),
164+
...createAgent(this.config.endpoint, { rejectUnauthorized: !this.config.selfSigned }),
165165
};
166166

167167
if (method === 'GET') {

0 commit comments

Comments
 (0)