@dynamatix/cat-shared 0.0.88 → 0.0.89

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.
@@ -103,6 +103,7 @@ function applyAuditMiddleware(schema, collectionName) {
103
103
  // Per-field logs
104
104
  if (auditConfig.fields?.length) {
105
105
  for (const field of auditConfig.fields) {
106
+ let lookupName;
106
107
  const newValue = doc[field];
107
108
  if (field.endsWith('Lid')) {
108
109
  const newlookupDoc = await mongoose.models['Lookup'].findById(newValue).lean();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.88",
3
+ "version": "0.0.89",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"