expose history field
This commit is contained in:
@@ -69,6 +69,7 @@ const permitSchema = new mongoose.Schema({
|
||||
lot: String,
|
||||
jobNumber: String,
|
||||
startDate: Date,
|
||||
history: Array,
|
||||
}).index({ tenantId: 1, permitNumber: 1 }, { unique: true });
|
||||
|
||||
export const permitFields = Object.keys(permitSchema.paths).filter(
|
||||
|
||||
Reference in New Issue
Block a user