Renamed struct to update a users scopes
This commit is contained in:
parent
2e0596c924
commit
8a43c166a8
@ -4,7 +4,7 @@ type HelloBodyRequest struct {
|
|||||||
Name string `json:"name" validate:"required"`
|
Name string `json:"name" validate:"required"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type AddScopeRequest struct {
|
type UpdateScopesRequest struct {
|
||||||
Username string `json:"name"`
|
Username string `json:"name"`
|
||||||
Scopes []string `json:"scopes" validate:"required"`
|
Scopes []string `json:"scopes" validate:"required"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user