expose history field
This commit is contained in:
@@ -66,6 +66,7 @@ const processedSchema = new mongoose.Schema({
|
||||
statusUpdated: Date,
|
||||
issuedDate: Date,
|
||||
transferDate: Date,
|
||||
history: Array,
|
||||
}).index({ tenantId: 1, permitNumber: 1 }, { unique: true });
|
||||
|
||||
export const processedFields = Object.keys(processedSchema.paths).filter(
|
||||
|
||||
Reference in New Issue
Block a user