Commit 9a407a8a authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files

check

parent 74458518
Pipeline #60887 failed with stages
in 56 minutes and 10 seconds
......@@ -141,13 +141,13 @@ export class TenantHandler {
public static async getTenantSDPath(req: expRequest): Promise<string> {
const datapartition = TenantParser.dataPartition(req);
// retrieve the tenant informations
const tenant = await TenantDAO.get(datapartition);
// // retrieve the tenant informations
// const tenant = await TenantDAO.get(datapartition);
if (FeatureFlags.isEnabled(Feature.AUTHORIZATION)) {
await Auth.isUserRegistered(req.headers.authorization,
tenant.esd, req[Config.DE_FORWARD_APPKEY]);
}
// if (FeatureFlags.isEnabled(Feature.AUTHORIZATION)) {
// await Auth.isUserRegistered(req.headers.authorization,
// tenant.esd, req[Config.DE_FORWARD_APPKEY]);
// }
try {
const tenants = await TenantDAO.getAll();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment