File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ class BaseOrgRepository extends BaseRepository {
261261 }
262262
263263 // ADD AUDIT ENTRY AUTOMATICALLY for the registry object
264- if ( requestingUserUUID && ! isLegacyObject ) {
264+ if ( requestingUserUUID ) {
265265 try {
266266 const auditRepo = new AuditRepository ( )
267267 await auditRepo . appendToAuditHistoryForOrg (
@@ -466,7 +466,7 @@ class BaseOrgRepository extends BaseRepository {
466466 _ . merge ( legacyOrg , legacyUpdates )
467467
468468 // ADD AUDIT ENTRY AUTOMATICALLY for the registry object before it gets saved.
469- if ( requestingUserUUID && ! isLegacyObject ) {
469+ if ( requestingUserUUID ) {
470470 try {
471471 const auditRepo = new AuditRepository ( )
472472 // Check if an audit document exists, if not we need to create one first and seed it with the existing org data
@@ -607,7 +607,7 @@ class BaseOrgRepository extends BaseRepository {
607607 }
608608
609609 // ADD AUDIT ENTRY AUTOMATICALLY for the registry object before it gets saved.
610- if ( requestingUserUUID && ! isLegacyObject ) {
610+ if ( requestingUserUUID ) {
611611 try {
612612 const auditRepo = new AuditRepository ( )
613613 // Check if an audit document exists, if not we need to create one first and seed it with the existing org data
You can’t perform that action at this time.
0 commit comments