diff --git a/src/models/Project.ts b/src/models/Project.ts index e83f942..8aee819 100644 --- a/src/models/Project.ts +++ b/src/models/Project.ts @@ -6,8 +6,7 @@ export interface IProjectDefaults { licenseKey: string, groups: string[], permissions: string[], - expirationDate: Date, - maxUses: number + expirationDate: Date } export interface IProject { @@ -52,7 +51,7 @@ const ProjectSchema = new Schema({ }, defaults: { type: Object, - default: { licenseKey: "NNUN-UUNN-UNUU-NUUN", groups: [], expirationDate: new Date(0), permissions: [], maxUses: -1 }, + default: { licenseKey: "NNUN-UUNN-UNUU-NUUN", groups: [], expirationDate: new Date(0), permissions: [] }, } });