update permit schema, change token expiry to 7 days
This commit is contained in:
@@ -13,14 +13,12 @@ const permitSchema = new mongoose.Schema({
|
||||
unique: true,
|
||||
},
|
||||
permitNumber: String,
|
||||
county: {
|
||||
type: mongoose.Types.ObjectId,
|
||||
ref: "organization",
|
||||
},
|
||||
county: Object,
|
||||
client: {
|
||||
type: mongoose.Types.ObjectId,
|
||||
ref: "organization",
|
||||
},
|
||||
clientData: Object,
|
||||
permitDate: Date,
|
||||
stage: new mongoose.Schema(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user