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 { ...@@ -141,13 +141,13 @@ export class TenantHandler {
public static async getTenantSDPath(req: expRequest): Promise<string> { public static async getTenantSDPath(req: expRequest): Promise<string> {
const datapartition = TenantParser.dataPartition(req); const datapartition = TenantParser.dataPartition(req);
// retrieve the tenant informations // // retrieve the tenant informations
const tenant = await TenantDAO.get(datapartition); // const tenant = await TenantDAO.get(datapartition);
if (FeatureFlags.isEnabled(Feature.AUTHORIZATION)) { // if (FeatureFlags.isEnabled(Feature.AUTHORIZATION)) {
await Auth.isUserRegistered(req.headers.authorization, // await Auth.isUserRegistered(req.headers.authorization,
tenant.esd, req[Config.DE_FORWARD_APPKEY]); // tenant.esd, req[Config.DE_FORWARD_APPKEY]);
} // }
try { try {
const tenants = await TenantDAO.getAll(); 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