Renamed struct to update a users scopes

This commit is contained in:
James Tombleson 2024-04-04 15:29:39 -07:00
parent 2e0596c924
commit 8a43c166a8

View File

@ -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"`
} }