no check on billing active server side
MODIFY
src/server/rest/v1/service/UtilsService.ts
src/server/rest/v1/service/UtilsService.ts
@@ -204,11 +204,6 @@ export default class UtilsService {
}
// Assign projected fields
if (authorizationFilter.projectFields) {
- // Remove Billable if Billing is inactive
- if (authorizationFilter.projectFields.includes('billable') &&
- !Utils.isTenantComponentActive(tenant, TenantComponents.BILLING)) {
- authorizationFilter.projectFields.splice(authorizationFilter.projectFields.indexOf('billable'), 1);
- }
user.projectFields = authorizationFilter.projectFields;
}
// Assign Metadata

no check on billing active server side