Skip to content

Commit 3a4ca87

Browse files
committed
Add about field to createGroupSchema in validations.ts
1 parent 37165af commit 3a4ca87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/validations.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ export const createGroupSchema = z
178178
.array(z.string().email())
179179
.optional()
180180
.openapi({ description: "List of member emails" }),
181+
about: z.string().optional().openapi({
182+
description: "Group's description",
183+
}),
181184
})
182185
.openapi({ description: "Schema for creating a new group" });
183186

0 commit comments

Comments
 (0)