Skip to content

Commit 27e14bc

Browse files
committed
Fix missed ConvertRole
1 parent dda5809 commit 27e14bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/users.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ func convertUser(user database.User, organizationIDs []uuid.UUID) codersdk.User
819819

820820
for _, roleName := range user.RBACRoles {
821821
rbacRole, _ := rbac.RoleByName(roleName)
822-
convertedUser.Roles = append(convertedUser.Roles, ConvertRole(rbacRole))
822+
convertedUser.Roles = append(convertedUser.Roles, convertRole(rbacRole))
823823
}
824824

825825
return convertedUser

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy