From 69aba0803a64aa9515fdd69dcb9065fc7d0af25e Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Tue, 30 Jul 2024 21:41:44 +0200 Subject: [PATCH] Remove maxUses from Project.ts model --- src/models/Project.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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: [] }, } });