Skip to content

Commit

Permalink
Adding promise resolution to createNew audit logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ktuite committed Aug 26, 2024
1 parent fb78290 commit afb4ee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/model/query/entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ createNew.audit = (newEntity, dataset, partial, subDef) => (log) => {
entityDefId: newEntity.aux.currentVersion.id, // Added in v2023.3 and backfilled
entity: { uuid: newEntity.uuid, dataset: dataset.name }
});
return Promise.resolve();
};
createNew.audit.withResult = true;

Expand Down

0 comments on commit afb4ee9

Please sign in to comment.