mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-09 17:51:47 +00:00
Remove maxUses from License.ts model
This commit is contained in:
@ -7,7 +7,6 @@ export interface ILicense {
|
||||
groups?: string[],
|
||||
permissions?: string[],
|
||||
meta: { [key: string]: string },
|
||||
maxUses: number,
|
||||
currentUses: number,
|
||||
expirationDate?: Date
|
||||
}
|
||||
@ -27,10 +26,6 @@ const LicenseSchema = new Schema<ILicense>({
|
||||
type: Object,
|
||||
default: {}
|
||||
},
|
||||
maxUses: {
|
||||
type: Number,
|
||||
default: -1
|
||||
},
|
||||
currentUses: {
|
||||
type: Number,
|
||||
default: 0
|
||||
|
||||
Reference in New Issue
Block a user