diff --git a/src/repositories/linked-accounts/schemas/linked-account.schema.ts b/src/repositories/linked-accounts/schemas/linked-account.schema.ts index 944c5ec..d5a0ddf 100644 --- a/src/repositories/linked-accounts/schemas/linked-account.schema.ts +++ b/src/repositories/linked-accounts/schemas/linked-account.schema.ts @@ -5,8 +5,8 @@ export type LinkedAccountDocument = HydratedDocument; @Schema() export class LinkedAccount { - @Prop({ required: true, default: 'unferified', enum: ['verified', 'unverified'] }) - status: string; + @Prop({ required: true, default: 'unverified', enum: ['verified', 'unverified'] }) + status: 'verified' | 'unverified'; @Prop({ required: true }) account: string;