mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-06-06 11:47:29 +02:00
fix name comment
This commit is contained in:
@@ -24,7 +24,7 @@ type APIReturnedUser struct {
|
|||||||
Projects []string `json:"projects"`
|
Projects []string `json:"projects"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// JobMetaRequest model
|
// UpdateUserAPIRequest model
|
||||||
type UpdateUserAPIRequest struct {
|
type UpdateUserAPIRequest struct {
|
||||||
NewRole string `json:"add-role" example:"user"` // Role to add to user $ID
|
NewRole string `json:"add-role" example:"user"` // Role to add to user $ID
|
||||||
DelRole string `json:"remove-role" example:"user"` // Role to remove from user $ID
|
DelRole string `json:"remove-role" example:"user"` // Role to remove from user $ID
|
||||||
|
|||||||
Reference in New Issue
Block a user