File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,15 @@ type CustomRepoRoles struct {
53
53
type CreateOrUpdateOrgRoleOptions struct {
54
54
Name * string `json:"name,omitempty"`
55
55
Description * string `json:"description,omitempty"`
56
- Permissions []string `json:"permissions,omitempty "`
56
+ Permissions []string `json:"permissions"`
57
57
}
58
58
59
59
// CreateOrUpdateCustomRepoRoleOptions represents options required to create or update a custom repository role.
60
60
type CreateOrUpdateCustomRepoRoleOptions struct {
61
61
Name * string `json:"name,omitempty"`
62
62
Description * string `json:"description,omitempty"`
63
63
BaseRole * string `json:"base_role,omitempty"`
64
- Permissions []string `json:"permissions,omitempty "`
64
+ Permissions []string `json:"permissions"`
65
65
}
66
66
67
67
// ListRoles lists the custom roles available in this organization.
You can’t perform that action at this time.
0 commit comments