Kindsys: Target k8s style resource definitions (#67008)
Co-authored-by: sam boyer <sdboyer@grafana.com>
This commit is contained in:
co-authored by
sam boyer
parent
b71b778d0d
commit
ca1f79b9ba
@@ -85,7 +85,7 @@ func (hs *HTTPServer) getPreferencesFor(ctx context.Context, orgID, userID, team
|
||||
}
|
||||
}
|
||||
|
||||
dto := preferences.Preferences{}
|
||||
dto := preferences.Spec{}
|
||||
|
||||
if preference.WeekStart != nil && *preference.WeekStart != "" {
|
||||
dto.WeekStart = preference.WeekStart
|
||||
@@ -302,7 +302,7 @@ type UpdateOrgPreferencesParams struct {
|
||||
// swagger:response getPreferencesResponse
|
||||
type GetPreferencesResponse struct {
|
||||
// in:body
|
||||
Body preferences.Preferences `json:"body"`
|
||||
Body preferences.Spec `json:"body"`
|
||||
}
|
||||
|
||||
// swagger:parameters patchUserPreferences
|
||||
|
||||
Reference in New Issue
Block a user