mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
feat: add a paginated organization members endpoint (#16835)
Closes [coder/internal#460](https://github.com/coder/internal/issues/460)
This commit is contained in:
@ -503,7 +503,7 @@ func asserts(inputs ...any) []AssertRBAC {
|
||||
// Could be the string type.
|
||||
actionAsString, ok := inputs[i+1].(string)
|
||||
if !ok {
|
||||
panic(fmt.Sprintf("action '%q' not a supported action", actionAsString))
|
||||
panic(fmt.Sprintf("action '%T' not a supported action", inputs[i+1]))
|
||||
}
|
||||
action = policy.Action(actionAsString)
|
||||
}
|
||||
|
Reference in New Issue
Block a user