rez_core 4.0.2 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "4.0.2",
3
+ "version": "4.0.5",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -277,7 +277,7 @@ export class FilterService {
277
277
 
278
278
  if (entity_type == "USR" || entity_type == "UPR") {
279
279
  baseWhere.push({
280
- query: 'e.is_customer != 1',
280
+ query: 'e.is_customer is NULL',
281
281
  params: {},
282
282
  });
283
283
  }
@@ -225,7 +225,7 @@ export class ListMasterService {
225
225
 
226
226
  // ✅ New: Exclude customers for USR/UPR
227
227
  if (sourceList === 'USR' || sourceList === 'UPR') {
228
- qb.andWhere(`${tableName}.is_customer != 1`);
228
+ qb.andWhere(`${tableName}.is_customer is NULL`);
229
229
  }
230
230
 
231
231
  return qb;
@@ -300,7 +300,6 @@ export class ActionDataRepository extends EntityServiceImpl {
300
300
  finalBaseUrl = baseUrl;
301
301
  } else if (profile === 'UAT' || profile === 'PREPROD') {
302
302
  // fetch org_slug from DB if needed
303
- const org_slug = 'orgslug'; // placeholder
304
303
  finalBaseUrl = `https://${org_slug}.${domainUrl}`;
305
304
  } else {
306
305
  finalBaseUrl = baseUrl;