mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
change json command parameter names from userID to userId and teamID to teamId (#57902)
This commit is contained in:
@@ -262,9 +262,9 @@ func (p *ResourcePermission) Contains(targetActions []string) bool {
|
||||
}
|
||||
|
||||
type SetResourcePermissionCommand struct {
|
||||
UserID int64 `json:"userID"`
|
||||
TeamID int64 `json:"teamID"`
|
||||
BuiltinRole string `json:"builtinRole"`
|
||||
UserID int64 `json:"userId,omitempty"`
|
||||
TeamID int64 `json:"teamId,omitempty"`
|
||||
BuiltinRole string `json:"builtInRole,omitempty"`
|
||||
Permission string `json:"permission"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user