@orbis-systems/orbis-api-clients 0.4.5 → 0.5.1

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.
@@ -117,7 +117,7 @@ class $3621850f1f570615$export$4f22f74eddb7716a {
117
117
  if (contentType === "multipart/form-data" && typeof data === 'object') requestConfig.data = this.createFormData(data);
118
118
  if (contentType === "text/plain" && typeof data !== 'string') requestConfig.data = JSON.stringify(data);
119
119
  }
120
- const mergedConfig = (0, $5Loj3$lodash.merge)(requestConfig.secure ?? this.config.defaultSecure ? await this.prepareAuthRequestConfig() : {}, contentType ? {
120
+ const mergedConfig = (0, $5Loj3$lodash.merge)(requestConfig.secure ?? this.config.defaultSecure ?? true ? await this.prepareAuthRequestConfig() : {}, contentType ? {
121
121
  headers: {
122
122
  'Content-Type': contentType
123
123
  }