mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
change json command parameter names from userID to userId and teamID to teamId (#57902)
This commit is contained in:
parent
3527cad9dc
commit
5c1a1c8318
@ -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"`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user