Skip to content

Commit

Permalink
refactor: disable tos (#2684)
Browse files Browse the repository at this point in the history
* refactor: disable tos

* test: remove tos assertion from test
  • Loading branch information
clD11 authored Oct 29, 2024
1 parent 8a3b0da commit fc1675d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion services/rewards/controllers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ func TestGetParametersController(t *testing.T) {
assert.Equal(t, "processing", params.PayoutStatus.Uphold)
assert.ElementsMatch(t, []float64{3, 5, 7, 10, 20}, params.AutoContribute.Choices)
assert.Equal(t, float64(10), params.BATRate)
assert.Equal(t, 1, params.TOSVersion)
}

func setupRouter(s *Service) *chi.Mux {
Expand Down
1 change: 0 additions & 1 deletion services/rewards/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ func (s *Service) GetParameters(ctx context.Context, currency *BaseCurrency) (*P
DefaultTipChoices: getTipChoices(ctx),
DefaultMonthlyChoices: getMonthlyChoices(ctx),
},
TOSVersion: s.cfg.TOSVersion,
}

vbatDeadline, ok := ctx.Value(appctx.ParametersVBATDeadlineCTXKey).(time.Time)
Expand Down

0 comments on commit fc1675d

Please sign in to comment.