@sap/cds-mtxs
Advanced tools
Comparing version 1.6.2 to 1.6.3
@@ -31,6 +31,6 @@ #!/usr/bin/env node | ||
const _local = file => isfile(file) || isfile (path.join(cds.env.folders.srv,file)) | ||
let cli_js = process.env.CDS_TYPESCRIPT && _local('cli.ts') || _local('cli.js') | ||
const cli_js = process.env.CDS_TYPESCRIPT && _local('cli.ts') || _local('cli.js') | ||
if (cli_js) { | ||
console.log ('[cds] - loading server from', { file: local(cli_js) }) | ||
let fn = await _import(cli_js) | ||
await _import(cli_js) | ||
} | ||
@@ -70,2 +70,2 @@ } | ||
const [,,cmd,tenant] = process.argv | ||
cds_mtx(cmd, tenant).catch(console.error) | ||
cds_mtx(cmd, tenant) |
{ | ||
"name": "@sap/cds-mtxs", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"description": "SAP Cloud Application Programming Model - Multitenancy library", | ||
@@ -5,0 +5,0 @@ "homepage": "https://cap.cloud.sap/", |
@@ -196,3 +196,3 @@ const cds = require('@sap/cds/lib') | ||
const originalRequest = cds.context?.http?.req | ||
const { isSync, isCustomCallback, saasCallbackUrlPath, callbackUrl } = parseHeaders(originalRequest.headers) | ||
const { isSync, isCustomCallback, saasCallbackUrlPath, callbackUrl } = parseHeaders(originalRequest?.headers) | ||
if (!isSync && callbackUrl) { | ||
@@ -199,0 +199,0 @@ /// TODO evaluate params for new rest adapter |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165336