Skip to content

Commit

Permalink
Adding promise resolution to createNew audit logger (#1180)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktuite authored Aug 27, 2024
1 parent fb78290 commit 5b6eb2d
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 5b6eb2d

Please sign in to comment.