mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-11 10:41:46 +00:00
Update expirationDate data type in License.ts model
This commit is contained in:
@ -36,7 +36,7 @@ const LicenseSchema = new Schema<ILicense>({
|
||||
default: 0
|
||||
},
|
||||
expirationDate: {
|
||||
type: String,
|
||||
type: Date,
|
||||
default: Date.now
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user