diff --git a/backend/pkg/api/types/notifications.go b/backend/pkg/api/types/notifications.go index 62eda01dd..27bf585be 100644 --- a/backend/pkg/api/types/notifications.go +++ b/backend/pkg/api/types/notifications.go @@ -141,12 +141,12 @@ type InternalGetUserNotificationNetworksResponse ApiPagingResponse[NotificationN // ------------------------------------------------------------ // Notification Settings type NotificationSettingsNetwork struct { - IsGasAboveEnabled bool `json:"is_gas_above_threshold_enabled"` - GasAboveThreshold decimal.Decimal `json:"gas_above_threshold" faker:"eth"` - IsGasBelowEnabled bool `json:"is_gas_below_threshold_enabled"` - GasBelowThreshold decimal.Decimal `json:"gas_below_threshold" faker:"eth"` - IsParticipationRateEnabled bool `json:"is_participation_rate_threshold_enabled"` - ParticipationRateThreshold float64 `json:"participation_rate_threshold" faker:"boundary_start=0, boundary_end=1"` + IsGasAboveSubscribed bool `json:"is_gas_above_subscribed"` + GasAboveThreshold decimal.Decimal `json:"gas_above_threshold" faker:"eth"` + IsGasBelowSubscribed bool `json:"is_gas_below_subscribed"` + GasBelowThreshold decimal.Decimal `json:"gas_below_threshold" faker:"eth"` + IsParticipationRateSubscribed bool `json:"is_participation_rate_subscribed"` + ParticipationRateThreshold float64 `json:"participation_rate_threshold" faker:"boundary_start=0, boundary_end=1"` } type NotificationNetwork struct { ChainId uint64 `json:"chain_id"` diff --git a/frontend/types/api/notifications.ts b/frontend/types/api/notifications.ts index b3bbf0212..0d9f53898 100644 --- a/frontend/types/api/notifications.ts +++ b/frontend/types/api/notifications.ts @@ -137,11 +137,11 @@ export type InternalGetUserNotificationNetworksResponse = ApiPagingResponse