diff --git a/api/src/user/schemas/role.schema.ts b/api/src/user/schemas/role.schema.ts index 64b8436f..81fcf8f8 100644 --- a/api/src/user/schemas/role.schema.ts +++ b/api/src/user/schemas/role.schema.ts @@ -31,7 +31,7 @@ export class RoleStub extends BaseSchema { name: string; @Prop({ type: Boolean, default: true }) - active?: boolean; + active: boolean; } @Schema({ timestamps: true })