@healthcloudai/hc-sdk 0.2.0 → 0.3.0
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/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -289,12 +289,12 @@ var AuthClient = class extends BaseServiceClient {
|
|
|
289
289
|
}
|
|
290
290
|
withTenantId(request) {
|
|
291
291
|
const tenantId = this.getTenantId();
|
|
292
|
-
if (!tenantId
|
|
292
|
+
if (!tenantId) {
|
|
293
293
|
return request;
|
|
294
294
|
}
|
|
295
295
|
return {
|
|
296
|
-
|
|
297
|
-
|
|
296
|
+
...request,
|
|
297
|
+
tenant_id: tenantId
|
|
298
298
|
};
|
|
299
299
|
}
|
|
300
300
|
extractAccessToken(response) {
|
package/dist/index.js
CHANGED
|
@@ -255,12 +255,12 @@ var AuthClient = class extends BaseServiceClient {
|
|
|
255
255
|
}
|
|
256
256
|
withTenantId(request) {
|
|
257
257
|
const tenantId = this.getTenantId();
|
|
258
|
-
if (!tenantId
|
|
258
|
+
if (!tenantId) {
|
|
259
259
|
return request;
|
|
260
260
|
}
|
|
261
261
|
return {
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
...request,
|
|
263
|
+
tenant_id: tenantId
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
266
|
extractAccessToken(response) {
|