Skip to content

Commit 938634d

Browse files
committed
rebase
1 parent 85b49fd commit 938634d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

enterprise/coderd/roles.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323
// @Security CoderSessionToken
2424
// @Produce json
2525
// @Param organization path string true "Organization ID" format(uuid)
26+
// @Param request body codersdk.PatchRoleRequest true "Upsert role request"
2627
// @Tags Members
2728
// @Success 200 {array} codersdk.Role
2829
// @Router /organizations/{organization}/members/roles [patch]
@@ -42,7 +43,7 @@ func (api *API) patchOrgRoles(rw http.ResponseWriter, r *http.Request) {
4243
)
4344
defer commitAudit()
4445

45-
var req codersdk.Role
46+
var req codersdk.PatchRoleRequest
4647
if !httpapi.Read(ctx, rw, r, &req) {
4748
return
4849
}

0 commit comments

Comments
 (0)