Commit a552b5a
committed
Fix team organizationRole assertion for RBAC orgs
RBAC-enabled organizations now return organizationRoles (plural array)
instead of organizationRole (singular string) in the team create response.
Accept either field so the assertion passes on both legacy and RBAC orgs.1 parent 5cafaa1 commit a552b5a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
0 commit comments