Skip to content

Commit

Permalink
Fixed the updatesEnable payload
Browse files Browse the repository at this point in the history
  • Loading branch information
doracretu3pillar committed Jul 24, 2024
1 parent a63d331 commit 094baf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/app/percona/settings/Settings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const SettingsService = {

const toModel = (response: SettingsPayload): Settings => ({
awsPartitions: response.aws_partitions.values,
updatesEnabled: response.enable_updates,
updatesEnabled: response.updates_enabled,
telemetryEnabled: response.telemetry_enabled,
telemetrySummaries: response.telemetry_summaries || [],
metricsResolutions: response.metrics_resolutions,
Expand Down
2 changes: 1 addition & 1 deletion public/app/percona/settings/Settings.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export interface SettingsPayload
values: string[];
};
platform_email: string;
enable_updates: boolean;
updates_enabled: boolean;
telemetry_enabled: boolean;
advisor_enabled: boolean;
alerting_enabled: boolean;
Expand Down

0 comments on commit 094baf6

Please sign in to comment.