We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98f8509 + 490f480 commit 9dfdf3eCopy full SHA for 9dfdf3e
lib/http.module.ts
@@ -18,7 +18,7 @@ import axiosBetterStacktrace from 'axios-better-stacktrace';
18
const createAxiosInstance = (config?: HttpModuleOptions) => {
19
const axiosInstance = Axios.create(config);
20
axiosRetry(axiosInstance, config);
21
- if(config.isBetterStackTraceEnabled === undefined || config.isBetterStackTraceEnabled) {
+ if(config?.isBetterStackTraceEnabled === undefined || config?.isBetterStackTraceEnabled) {
22
axiosBetterStacktrace(axiosInstance);
23
}
24
return axiosInstance;
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "nestjs-http-promise",
3
- "version": "1.2.0",
+ "version": "1.2.1",
4
"keywords": [
5
"nestjs",
6
"http",
0 commit comments