forked from Yara724/api
FIX Catcha
This commit is contained in:
@@ -150,12 +150,6 @@ export class DamageExpertModel {
|
||||
@Prop({ type: "string" })
|
||||
otp: string;
|
||||
|
||||
@Prop({ default: null })
|
||||
captcha?: string | null;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
captchaExpire?: number;
|
||||
|
||||
@Prop({ type: "string" })
|
||||
address: string;
|
||||
|
||||
|
||||
@@ -72,13 +72,6 @@ export class ExpertModel {
|
||||
@Prop({ type: "string" })
|
||||
otp: string;
|
||||
|
||||
@Prop({ default: null })
|
||||
captcha?: string | null;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
captchaExpire?: number;
|
||||
|
||||
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
|
||||
@@ -37,12 +37,6 @@ export class FieldExpertModel {
|
||||
@Prop({ type: "string", default: "" })
|
||||
otp: string;
|
||||
|
||||
@Prop({ default: null })
|
||||
captcha?: string | null;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
captchaExpire?: number;
|
||||
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
|
||||
@@ -41,12 +41,6 @@ export class InsurerExpertModel {
|
||||
@Prop()
|
||||
address?: string;
|
||||
|
||||
@Prop({ default: null })
|
||||
captcha?: string | null;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
captchaExpire?: number;
|
||||
|
||||
createdAt: Date;
|
||||
}
|
||||
export const InsurerExpertDbSchema =
|
||||
|
||||
@@ -27,12 +27,6 @@ export class RegistrarModel {
|
||||
|
||||
@Prop({ type: "string", default: "" })
|
||||
otp: string;
|
||||
|
||||
@Prop({ default: null })
|
||||
captcha?: string | null;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
captchaExpire?: number;
|
||||
}
|
||||
|
||||
export const RegistrarDbSchema = SchemaFactory.createForClass(RegistrarModel);
|
||||
|
||||
Reference in New Issue
Block a user