fixed get logo by subdomain
MODIFY
src/server/rest/v1/router/util/UtilRouter.ts
src/server/rest/v1/router/util/UtilRouter.ts
@@ -40,7 +40,6 @@ export default class UtilRouter {
private buildRouteGetTenantLogo(): void {
this.router.get(`/${ServerRoute.REST_TENANT_LOGO}`, async (req: Request, res: Response, next: NextFunction) => {
- req.query.ID = req.params.id;
await RouterUtils.handleServerAction(TenantService.handleGetTenantLogo.bind(this), ServerAction.TENANT_LOGO, req, res, next);
});
}

MODIFY
src/types/Server.ts
src/types/Server.ts
@@ -562,7 +562,7 @@ export enum ServerRoute {
REST_TENANTS = 'tenants',
REST_TENANT = 'tenants/:id',
- REST_TENANT_LOGO = 'tenant/:id/logo',
+ REST_TENANT_LOGO = 'tenants/logo',
REST_COMPANIES = 'companies',
REST_COMPANY = 'companies/:id',

fixed get logo by subdomain