From 571ba1d5686ae619cf294ca4d74a64d06142b7b3 Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Fri, 10 Jan 2025 18:44:24 +0100 Subject: [PATCH] fix: update role active field --- api/src/user/schemas/role.schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })