Skip to content

Commit 26512ff

Browse files
committed
🧹
1 parent d8f959a commit 26512ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codersdk/groups.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ type CreateGroupRequest struct {
2626

2727
type Group struct {
2828
ID uuid.UUID `json:"id" format:"uuid"`
29-
Name string `json:"name" validate:"required,group_name"`
30-
DisplayName string `json:"display_name" validate:"required,group_display_name"`
29+
Name string `json:"name"`
30+
DisplayName string `json:"display_name"`
3131
OrganizationID uuid.UUID `json:"organization_id" format:"uuid"`
3232
Members []ReducedUser `json:"members"`
3333
AvatarURL string `json:"avatar_url"`

0 commit comments

Comments
 (0)