From e483185b2c9a2de00db2bd79290f13178d6b45f9 Mon Sep 17 00:00:00 2001 From: devlikepro Date: Mon, 24 Feb 2025 11:08:17 +0700 Subject: [PATCH] [core] fields.exclude optional --- src/structures/groups.dto.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structures/groups.dto.ts b/src/structures/groups.dto.ts index d58f5419..f75e2949 100644 --- a/src/structures/groups.dto.ts +++ b/src/structures/groups.dto.ts @@ -85,6 +85,7 @@ export class GroupsListFields { description: 'Exclude fields', enum: GroupField, isArray: true, + required: false, }) @IsEnum(GroupField, { each: true }) exclude: string[];