rez_core 2.0.38 → 2.0.39

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": "2.0.38",
3
+ "version": "2.0.39",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -174,7 +174,7 @@ export class EntityServiceImpl implements EntityService<BaseEntity> {
174
174
  entityData.modified_date = new Date();
175
175
  if (loggedInUser) {
176
176
  entityData.modified_by = loggedInUser.id;
177
- if (!entityData.organization_id && entityData.parent_type !== 'ORG')
177
+ if (!entityData.organization_id && entityData.parent_type !== 'ORGP')
178
178
  entityData.organization_id = loggedInUser.organization_id;
179
179
  if (!entityData.enterprise_id)
180
180
  entityData.enterprise_id = loggedInUser.enterprise_id;