This commit is contained in:
2024-03-11 14:21:31 +00:00
parent c9c974d191
commit 2266cad0f8
13 changed files with 250 additions and 22 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ export interface IUser {
allowGatewayAction?: ServerActionType[];
penalty?: Map<string, Date>;
picture?: string;
icon?: string;
useImgSvr?: boolean;
regDate: Date;
@@ -75,7 +75,7 @@ export const User = new Schema<IUser>({
},
penalty: { type: Map, required: false, of: Date },
picture: { type: String, required: false },
icon: { type: String, required: false },
useImgSvr: { type: Boolean, required: false },
regDate: { type: Date, required: true },