rez_core 2.0.34 → 2.0.35
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
|
@@ -172,7 +172,7 @@ export class EntityServiceImpl implements EntityService<BaseEntity> {
|
|
|
172
172
|
entityData.modified_date = new Date();
|
|
173
173
|
if (loggedInUser) {
|
|
174
174
|
entityData.modified_by = loggedInUser.id;
|
|
175
|
-
if (!entityData
|
|
175
|
+
if (!entityData?.organization_id && entityData.entity_type !== 'ORG')
|
|
176
176
|
entityData.organization_id = loggedInUser.organization_id;
|
|
177
177
|
if (!entityData.enterprise_id)
|
|
178
178
|
entityData.enterprise_id = loggedInUser.enterprise_id;
|